A demo inventory management system built with NestJS, TypeORM, and PostgreSQL.
- Docker and Docker Compose
- Node.js 18+
- pnpm
-
Start the entire stack:
docker-compose up -d
-
Run database migrations:
pnpm run migration:up
-
Seed the database (optional):
pnpm run seed:run
The API will be available at:
- API: http://localhost:3000
- Swagger Documentation: http://localhost:3000/api/swagger
-
Start only the database:
docker-compose up -d postgres
-
Install dependencies:
pnpm install
-
Run migrations and seed:
pnpm run migration:up pnpm run seed:run
-
Start the development server:
pnpm run start:dev
pnpm run start:dev- Start in development modepnpm run build- Build the applicationpnpm run start:prod- Start in production modepnpm test- Run testspnpm run lint- Run ESLint
MIT