/api-vinylib

NestJS API for the Vinylib web application

Primary LanguageTypeScript

api-vinylib

Installation

$ npm install

Before you start

At the root of the project, execute the following commands:

cp .env.example .env

Migration

# run migration
npm run migration:run

# generate migration with a migration name
npm run migration:generate -- <path/name>

Running the app

npm run start

API: http://localhost:3000

Testing

# unit tests
$ npm run test