Important
This repo is now deprecated in favor of:
- a TS front-end with Next.js at aibtcdev-frontend
- a Python back-end with CrewAI at aibtcdev-backend
Be sure to follow along with the latest on our X account and join our Discord!
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:
- Frontend (React with Next.js)
- Backend (Python with FastAPI)
Both components work together to offer a seamless crew generation experience.
- No programming knowledge required
- Easy setup for both frontend and backend
- Uses Supabase for authentication and database
- Integrates with multiple APIs (OpenAI, Serper, CoinMarketCap)
Before running the project locally, ensure you have the following installed:
- Node.js (for frontend)
- Python 3.8+ (for backend)
- Supabase account and API keys
- API keys for OpenAI, Serper, and CoinMarketCap
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
.
- Open your browser and go to
http://localhost:3000
. - Use the UI to generate your crew without needing any programming knowledge.
- Ensure both frontend and backend servers are running for full functionality.
We welcome contributions to improve this project. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
Happy coding!