The future frontend of the NTNUI Svømming website (https://org.ntnu.no/svommer/).
- Next.js
- React.js
- Material UI
First, install all dependencies:
npm i
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
All pages are located in the pages
directory. Every page is composed of components located in the components
directory.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
Run the following:
npm run build
npm run start
Open http://localhost:3000 with your browser and be amazed.
Run:
npm run export