Skip to content

Back-end e o banco de dados(SQL) de um gerenciador de pedidos para uma loja de bolos.🍰

License

Notifications You must be signed in to change notification settings

REFSZIN/projeto-laboleria

Repository files navigation

waving

La Boleria

Built With

Librariess

Description

La Boleria is a back-end application, an REST API FULL.


Features

  • CREATE CAKES
  • CREATE CLIENTS
  • CREATE ORDERS
  • CONSULT DELIVERY STATUS
  • COSULT HISTORY ORDERS

API Reference

User Sign Up

https://boleria.herokuapp.com
POST /cakes
https://boleria.herokuapp.com
POST /clients
https://boleria.herokuapp.com
POST /order
https://boleria.herokuapp.com
GET /orders
https://boleria.herokuapp.com
GET /orders/:id
https://boleria.herokuapp.com
GET /clients/:id/orders
https://boleria.herokuapp.com
PATCH /order/:id

Environment Variables

To run this project, you will need to add the following environment variables to your .env file
DATABASE_URL = postgres://UserName:Password@Hostname:5432/DatabaseName
PORT = number #recommended:5000
NOMEE = PROJECT NAME
TOKEN_SECRET="tokenzindex"

Run Locally

Clone the project

  git clone 

Go to the project directory

  cd projet

Install dependencies

  npm install

Start the server

  npm run dev

Run tests

  npm test

Acknowledgements


About

Back-end e o banco de dados(SQL) de um gerenciador de pedidos para uma loja de bolos.🍰

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published