Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

HackAtUCI/HackUCI-Site

Repository files navigation

HackUCI-Site

This is a Next.js project bootstrapped with create-next-app.

First-Time Setup

This project combines a Next.js frontend with a Python API.

Next.js

  1. Install dependencies
    npm ci

Python API

  1. Create a virtual environment

    python3 -m venv .venv --prompt HackUCI-Site
  2. Activate virtual environment

    VS Code may prompt to automatically select the newly created virtual environment. Otherwise, run

    source .venv/bin/activate
  3. Install dependencies

    pip install -r requirements.txt -r requirements-dev.txt

Running Development Environment

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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.