This is the backend NestJS project for ModuleFederation using MicroFrontends POC. This projects holds the endpoints for login, register, get user info and update favorites
- Clone the repository.
- Do
npm install - Go to neon.tech, login/register and create a project. Choose prisma to be ORM. Copy the
.envvalue from the dashboard and update it in code. - Initialize prisma using
npx prisma migrate dev --name create-schema. This will create a migrations folder in prisma folder. - Run locally using
npm run start - Test the endpoints via postman (baseURL: http://localhost:4000/)