First install all the required dependencies using the following command:
npm install
Then you run the development server using:
npm run dev
# or
yarn dev
# or
pnpm dev
To test the code you can use the following commands:
npm test
# or
npm test -- --coverage
Open http://localhost:3000 with your browser to see the result.
Figma Design: https://www.figma.com/file/BQEd4BGkhqg7g0CLiNRufx/Fuel-Quote-Website?node-id=5%3A141&t=zVJFQCWofTf1NA3H-0
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.