- run
npm install
to install all of the dependencies - in order to run this project properly you need to run Next.js development server and Node API server at the same time
- to run Next.js application run
npm run dev
and open browser at localhost:3000 - to run Node API server run
npm run server
in new terminal window(servers has to run at the same time), it will run server at localhost:3001 - create
.env
file in root folder with values of:
GOOGLE_USER=YOUR_GOOGLE_EMAIL // e.g test@gmail.com
GOOGLE_PASSWORD=YOUR_GOOGLE_PASSWORD // testtest
DOMAIN=YOUR_DOMAIN // e.g http://localhost:3000
Open http://localhost:3000 with your browser to see the result.
Open http://localhost:3001/api/test with your browser to test API Server
Follow more Lectures at Youtube