Skip to content

mhqmarques/petshow-api

Repository files navigation

Liontech IR Pets

Instruções - API

  • NodeJS com Typescript
  • Utilizar o banco MySql e o ORM TypeORM
  • Utilizar JWT
  • Login
  • CRUD de raça
  • CRUD para pet
  • CRUD de donos dos pets
  • Collection do postman com os endpoints

Get Started

Dev Environment

  • node v16.13.2
  • npm v8.3.2
  • Typescript v4.5.5

Runs in Development Environment

  • Create a MySql database with name petshow
  • Create file .env
  • Copy keys from .env.example to file .env
  • Insert datas for connection with database
  • Run the migrations npm run typeorm migration:run
  • Start the application npm run dev

Runs in Production Environment

  • Create a MySql database with name petshow
  • Create file .env
  • Copy keys from .env.example to file .env
  • Insert datas for connection with database
  • Run the migrations npm run typeorm migration:run
  • Build the application npm run build
  • Start the application npm start

Using the API

Collection do postman com os endpoints:

About

Backend project using node + express for portfolio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors