This is a project with Next.js as front-end framework and node.js as back-end environvent.
First, install all the modules:
npm i
Second, run the terminal of the development client side:
npm run dev
# or
yarn dev
# or
pnpm dev
Third, also run the terminal of the server side:
npm start
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
The server side is at http://localhost:3005.
You can test the routes by postman using the URL.