This is the tiny two microservices with Nodejs from scratch
This repo is mainly focused on Backend.
- Nodejs
- Prisma
- MongoDB
- Jest
- Nextjs
└───node-kafka
| ├───app-backend
| | ├───catalog_service
| | ├───order_service
| ├───app-frontend
npx prisma init
npx prisma generate
yarn jest --init
yarn test
yarn test catalog_service/src/routes/__test__/catalog.route.test.ts
{
"Typescript Express Router": {
"scope": "javascript,typescript",
"prefix": "router",
"body": [
"router.post(\"/\", (req : Request,res : Response) => {",
"return res.json({})",
"})"
],
"description": "typescript nodejs router"
}
}