Skip to content

WIP : New clean backend version with NestJS, Typescript and good test coverage

Notifications You must be signed in to change notification settings

Green-Meet/backend_v2

Repository files navigation

Description

New API for Green Meet projet build with Nest framework using Typescript

Database

You sould run a postGreSQL database locally to test and run app. After that, you should add a "./env" file in /config directory and add credentials like this :

PGHOST=localhost
PGDATABASE=<your DB name>
PGUSER=<username>
PGPORT=5432
PGPASSWORD=<user password>
SECRET=<"Your secret">

Then populate database with tables. You will find SQL instruction with tables here :

./config/database.init.sql

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

NestJS Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

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

About

WIP : New clean backend version with NestJS, Typescript and good test coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published