This project is built with Next.js, a React framework for production. Below are the instructions to set up and run the project locally, as well as build and lint the codebase.
Before running any of the commands, make sure you have the following installed:
In the project directory, you can run the following commands:
To start the development server, run:
npm run devRuns the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
To build the app for production, run:
npm run buildBuilds the app for production to the .next folder. The build is optimized and ready to be deployed.
To start the production build, run:
npm run startRuns the production build. You must run npm run build before using this command.
To run the linter, run:
npm run lintRuns the linter to identify and fix code formatting issues.