ULA Website runs on Node.js Version 20.10.0 and higher. Please ensure you have Node.js installed via the official website.
This project is built using Next.js, a React framework. Next.js is automatically installed when you install all dependencies for this project.
The following environment variables are required and must be stored in an .env
file:
NEXT_PUBLIC_GOOGLE_CALENDAR_API_KEY
NEXT_PUBLIC_GOOGLE_CALENDAR_PYTHON (CS9 series)
NEXT_PUBLIC_GOOGLE_CALENDAR_SOFTWARE (CS10 series)
NEXT_PUBLIC_GOOGLE_CALENDAR_DISCRETE (CS11)
NEXT_PUBLIC_GOOGLE_CALENDAR_COMPUTER_ARCHITECTURE (CS61)
NEXT_PUBLIC_GOOGLE_CALENDAR_SOFTWARE_ENGINEERING (CS100)
NEXT_PUBLIC_GOOGLE_CALENDAR_DISCRETE_STRUCTURES (CS111)
NEXT_PUBLIC_GOOGLE_CALENDAR_ALGORITHMS (CS141)
# Install dependencies
npm i
# Add dependency
npm i <dependency>
# Remove dependency
npm un <dependency>
# Open a browser at localhost:3000
npm run dev
# Rewrite code recursively with proper formatting
npm run format
# Show formatting differences recursively
npm run check
npm run eslint
npm run build