Ninjeneer / passmoilgoss

Hackathon context: Satyric projet about a marketplace for adoption centers (Introduction website : http://intensif03.ensicaen.fr)

Home Page:http://intensif03.ensicaen.fr:443

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Pass Moi L'Goss API server

Description

Project realised in the context of a Hackathon organized by the ENSICAEN & Le Dôme

Pas Moi L'Goss is a fake marketplace for adoption centers

Installation

$ npm install

Configuration

Server

Copy the src/assets/config-template.json file as src/assets/config.json

$ cp src/assets/config-template.json src/assets/config.json

Feel free to edit settings to match your environment requirements

Database

  • Create a user named pmg with password pmg
  • Allow it to login if necessary
  • Create a database named 'passmoilgoss' and give all permissions to user pmg on it

Copy the prisma/.env.template file as prisma/.env

$ cp prisma/.env.template prisma/.env

Feel free to edit settings to match your environment requirements

Push database schema

$ npx prisma db push

Running the app

# development
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# all tests
$ npm run mocha

# e2e tests
$ npm run mocha:e2e

# test coverage
$ npm run mocha:cov

Internal Dependency Graph

Green = Core modules

Blue = API modules

Dependency graph

License

Nest is MIT licensed.

About

Hackathon context: Satyric projet about a marketplace for adoption centers (Introduction website : http://intensif03.ensicaen.fr)

http://intensif03.ensicaen.fr:443


Languages

Language:TypeScript 98.1%Language:JavaScript 1.5%Language:Dockerfile 0.4%