Full-stack chat application using Next.js and FastAPI.
/frontend- Next.js frontend application/backend- FastAPI backend application
- Create virtual environment
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt-
Copy
.env.exampleto.envand configure environment variables -
Start the backend server
uvicorn app.main:app --reload- Install dependencies
cd frontend
npm install- Start the development server
npm run dev