Skip to content

CepedaBrayan/waiter-app-backend

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.

Installation

$ clone the repository

$ import the database in the folder db/waiter_db.sql

$ create a .env file in the root folder with the following content:
  DATABASE_URL="mysql://user:password@domain:port/db_name"
  example: DATABASE_URL="mysql://root:123@localhost:3306/waiter_db"

$ npm install

$ npx prisma db pull

$ npx prisma generate

Running the app

# watch mode
$ npm run start:dev

$ root url is: http://localhost:4000/waiter-app/

Insomnia Api RESTful test

# watch mode
$ Import the insomnia file collection in folder insomnia/Insomnia_2022-07-12.json

$ Open, and send the requests

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.

Stay in touch

License

Nest is MIT licensed.

Releases

No releases published

Packages

No packages published