This is a Next.js project bootstrapped with create-next-app
.
This project combines a Next.js frontend with a Python API.
- Install dependencies
npm ci
-
Create a virtual environment
python3 -m venv .venv --prompt HackUCI-Site
-
Activate virtual environment
VS Code may prompt to automatically select the newly created virtual environment. Otherwise, run
source .venv/bin/activate
-
Install dependencies
pip install -r requirements.txt -r requirements-dev.txt
Run the Next.js development server
npm run dev
# or
yarn dev
Run the FastAPI app with uvicorn
python3 src/app/dev.py
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.