Skip to content

Bezaeel/invento

Repository files navigation

Invento

A demo inventory management system built with NestJS, TypeORM, and PostgreSQL.

Getting Started

Prerequisites

  • Docker and Docker Compose
  • Node.js 18+
  • pnpm

Running with Docker Compose

  1. Start the entire stack:

    docker-compose up -d
  2. Run database migrations:

    pnpm run migration:up
  3. Seed the database (optional):

    pnpm run seed:run

The API will be available at:

Running Locally

  1. Start only the database:

    docker-compose up -d postgres
  2. Install dependencies:

    pnpm install
  3. Run migrations and seed:

    pnpm run migration:up
    pnpm run seed:run
  4. Start the development server:

    pnpm run start:dev

Available Scripts

  • pnpm run start:dev - Start in development mode
  • pnpm run build - Build the application
  • pnpm run start:prod - Start in production mode
  • pnpm test - Run tests
  • pnpm run lint - Run ESLint

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors