This is a Next.js version of Deriv API.
- Fork the project to your repository to work on your own version of the application.
- Clone using
git clone git@github.com:farrah-deriv/trolls-api.git
- Install the dependencies using
npm run install
.
npm run dev
Starts the application in development mode. The application will start at the default server which is http://localhost:3000
.
npm run build
Creates an optimized production build which is located in .next
folder of the application for deployment.
npm run start
Starts the application in production mode.
npm run test
Runs the jest test suite. The test files are located in src/__tests__
directory.
npm run test:src-coverage
Check the test coverage of all project files. All project files are located in src
directory.
npm run lint
Runs ESlint for all the files in pages
, components
, and utils
directories.