Pizzeria API
Welcome to version 1 of Pizzeria API. Below you will find the available method on the endpoint.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To work with this project you need to have the following installed on your local machine
git clone https://github.com/abejide001/pizzeria.git
cd pizzeria
export
mv .env.sample .env
npm i
npm run start:dev
git clone https://github.com/abejide001/pizzeria.git
cd pizzeria
# rename .env.sample to .env, and set your environment variable
export
mv .env.sample .env
npm i
npm run test
API BASE URL(https://pizzeria-2021.herokuapp.com/api/v1).
method | route | description | data | priviledge |
---|---|---|---|---|
POST | /sigin | Sign In | {email, password} |
admin, customer |
POST | /signup | Sign up | {email, password} |
admin, customer |
method | route | description | data |
---|---|---|---|
POST | /pizza | Create a pizza | name, price, quantity |
method | route | description | data |
---|---|---|---|
POST | /order | Create an order | items |
https://pizzeria-2021.herokuapp.com/api/v1/docs (change the Schemes to HTTPS)
https://pizzeria-2021.herokuapp.com/api/v1
Abejide Femi - [email protected]