Skip to content

uit-major-project/frontend

Repository files navigation

dev | prod

dev and prod branch is deployed with github action. Other environments are stale due to heroku security breach

Steps to run the project

# clone the repo
git clone [email protected]:uit-major-project/frontend.git

# go inside cloned directory
cd frontend

# install packages (this may take some time)
# make sure you are using node 16
npm i

# create a .env.local file by copying .env.sample file for variable names, contact team for variable values

# run in development mode
npm run dev

You can now open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

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

Getting Started with next.js

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

Releases

No releases published

Packages

No packages published

Languages