Simpe task management app built in NextJs and GRPC-Node.
Used GRPC for API calls and Prisma ORM for database to store tasks.
1: Node(GRPC) : Backend
2: NextJS : Frontend
3: Envoy : Proxy for GRPC
1: Install grpc-tools globally using bellow command or else grpc_tools_node_protoc will not work
npm i -g grpc-tools
2: Install npm dependencies in these 3 directories
npm i
cd backend && npm i backend
cd frontend && npm i frontend
3: Generate protos (optional)
npm run gen-proto
4: Run both backend and frondend
npm run dev
5: Run docker command for backend GRPC in DEV mode
docker run -ti -p 8080:8080 -p 9901:9901 -v /$(pwd)/envoy.yaml:/etc/envoy/envoy.yaml --rm envoyproxy/envoy-dev:04dd76b051c99f82abda081e1d04cac38667ef88