- To start socket server go to
server
folder. - Provide env variables
APP_URL
&API_URL
for frontend and backend server respectively. - Run
npm install
orpnpm install
to install dependencies. - Start server using
npm run dev
orpnpm dev
(runs in port3000
by default).
Socket server must be running while working with the frontend terminal.
- To start frontend go to
web
folder. - Create .env file and provide the env variables shown in .env.example file.
- Run
npm install
orpnpm install
to install dependencies. - Start server using
npm run dev
orpnpm dev
(runs in port4000
by default).
- Typescript, Next.js, Socket.io, MongoDB, Docker, Google Cloud Run