Skip to content

Latest commit

 

History

History
151 lines (124 loc) · 4 KB

README.md

File metadata and controls

151 lines (124 loc) · 4 KB

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