You will need to add the environment variables to your
.env.local
or.env
file, these will work for development and production environments, references can be found in the.env.example
file.
First, install the dependencies
npm install
# or
npm i
Then, start the development server
npm run dev
While the server is running, you can open http://localhost:3000 with your browser to see the website.
API endpoints can be accessed on http://localhost:3000/api/. Available endpoints are listed here
You will need to add the environment variables to your
.env.test.local
or.env.test
file, these will work for the test environment, references can be found in the.env.example
file.
To run tests, run the following command
npm run test
# or
npm test