Crew Generator is a powerful tool that helps you create your own crew without any programming knowledge. This project is divided into two main components:
Both components work together to offer a seamless crew generation experience.
Before running the project locally, ensure you have the following installed:
To run this project locally, follow these steps:
git clone https://github.com/aibtcdev/crew-generator.git
Navigate to the frontend-crew directory and install the dependencies:
cd frontend-crew
npm install
You need to add environment variables in the frontend-crew directory. Create a .env.local
file with the following:
NEXT_PUBLIC_SUPABASE_URL=https://helloworld.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-key
NEXT_PUBLIC_API_URL=http://127.0.0.1:8000
Navigate to the backend directory, create and activate a virtual environment, and install the required packages:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
In the backend directory, create a .env
file and add the following environment variables:
OPENAI_API_KEY="sk-proj-I-your api key here"
SERPER_API_KEY="your-serper-api-key"
SUPABASE_URL=https://hellowowld.supabase.co
SUPABASE_SERVICE_KEY=your-service-key
CMC_API_KEY='cmc-api-key'
After setting up the backend, start the FastAPI server:
uvicorn main:app --reload
This will start the backend server on http://127.0.0.1:8000
.
Once the backend is running, start the frontend development server:
npm run dev
This will start the frontend on http://localhost:3000
.
http://localhost:3000
.We welcome contributions to improve this project. To contribute:
git checkout -b feature/your-feature
).git commit -m 'Add new feature'
).git push origin feature/your-feature
).Happy coding!