Skip to content

csilva2810/api_school

 
 

Repository files navigation

School [api]

Api for a meeting system about tech and development

Required

Init App

  • Install depends Yarn install

Docker init

Postgree

docker run --name database_school -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=school -p 5432:5432 -d postgres

Insomnia

  • To download Insomnia
  • In insomnia you must to ckick import/Export->Import Data
  • Import de archive api_school/Insomnia-school.json

Run the migrations yarn migrate

MongoDb

docker run --name mongo_school -p 27017:27017 -d -t mongo

Commands important

  • Fix ESLint yarn eslint --fix src --ext .js

Run the API

  • yarn dev

Run the Tests

  • This api was made on TDD (test driven development) with Jest.js
  • yarn test

Swagger Docs API

  • http://localhost:3333/api-docs/

** By DouglasPorto **

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%