$ yarn
In the project directory(server & client), you can run:
Do this first in the server directory:
$yarn dev # will start the dev server on port 4000 for server
Then in the client directory:
$yarn dev # will start the dev server on port 3000 for client
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any errors in the console.
Builds the app for production to the .next
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Starts the application in production mode. The application should be compiled with `next build` first.