Welcome to the Barua AI repository! This is the frontend codebase for the Barua AI application, a powerful tool for generating AI-driven sales emails, DMs, and personalized messages that convert. Built with Next.js, this project is designed to offer a seamless user experience, allowing users to interact with our AI and manage their outreach campaigns effectively.
- AI-Powered Email & DM Generation: Easily generate personalized emails and messages using our advanced AI by providing simple inputs.
- User-Friendly Interface: Intuitive and easy-to-navigate UI built with Next.js.
- Save & Manage Content: Save generated emails, offers, and prospect lists for future use.
- Fine-Tuning: Edit and refine generated content to match your brand’s voice.
- Quick Access: Load saved offers and prospect lists for faster message generation.
Before you begin, ensure you have the following installed:
- Node.js (v12.x or later)
- npm (v6.x or later) or yarn (v1.x or later)
-
Clone the Repository:
git clone https://github.com/yourusername/barua-ai-frontend.git cd barua-ai-frontend
-
Install Dependencies:
npm install
Or if you prefer yarn:
yarn install
Before running the application, you'll need to configure the connection to the Barua AI API.
-
API Configuration:
The configuration file is located at
src/config.js
. You will need to update this file with the correct API base URL.// src/config.js const config = { API_BASE_URL: <API URL> }; export default config;
Replace the
API_BASE_URL
value with the correct URL to connect to the Barua AI API.
To run the application in development mode, use:
npm run dev
This will start a development server at http://localhost:3000
. The application will automatically reload if you make changes to the code.
To build the application for production, run:
npm run build
Once the build is complete, you can start the server with:
npm start
This will start the application on the production server.
We welcome contributions from the community! To contribute, please follow these steps:
- Fork the Repository: Click the "Fork" button at the top right of this page.
- Clone Your Fork: Clone the forked repository to your local machine.
git clone https://github.com/yourusername/barua-ai-frontend.git
- Create a New Branch: Create a new branch for your feature or bug fix.
git checkout -b my-feature-branch
- Make Your Changes: Implement your feature or bug fix.
- Commit Your Changes: Commit your changes with a clear message.
git commit -m "Add new feature XYZ"
- Push to Your Fork: Push your changes to your forked repository.
git push origin my-feature-branch
- Open a Pull Request: Go to the original repository and open a Pull Request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for your interest in contributing to Barua AI Frontend! We’re excited to work together and improve our application.