Skip to content

joaquinodz/nest-movies

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Prerequisites:

  • PostgreSQL database
  • NodeJS

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Instructions:

  1. Set up a PostgreSQL database

  2. Rename the .env.example file to .env and complete all of its properties with the appropiate values.

  3. Start the application.

  4. You will find all the available endpoints documentation by going to http://localhost:3000/api

    Swagger

Important

The first user you create will have the user role assigned by default. To use the administrative endpoints you need to use your prefered database manager (e.g. pgAdmin) and modify the role column of the user table to admin as shown here: Swagger Bearer Auth

Note

To automatically use the access token obtained in the /auth/login on the other endpoints, click the "Authorize" endpoint on the top-right corner and insert the token as shown: Swagger Bearer Auth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published