/nestjs-template

A template using https://github.com/nestjs/typescript-starter.

Primary LanguageTypeScript

⚠️ This template is not ready yet.

Pending tasks:

  • Error handling
  • E2E testing
  • Folder structure (refactor)

Welcome to nest-typescript-template 👋

Version Node Version License: MIT Coverage Status CodeQL

Cloned from Nest TypeScript starter repository and updated.

Demo

Prerequisites

  • node 18.x

Install

npm install

Start your Database

  1. Run the docker-compose file. It will run a Postgres container so you may use to develop and test locally.
docker-compose up -d
  1. Run the migrations to create the initial users table.
npm run migration:run

Usage

npm run start:dev

Run unit tests

npm run test

Run e2e tests

npm run test:e2e

Please refer to package.json for more scripts to run.

Author

👤 Olavio Lacerda

Show your support

Give a ⭐️ if this project helped you!

Useful resources


This README was generated with ❤️ by readme-md-generator