REST API for Gourmet Online Food Ordering App
Gourmet API is a very simple Online Food Ordering API built with NodeJS that offers endpoints to manage authentication and orders.
The API offers the following endpoints:
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/signup | Signup or registration |
| GET | /api/auth/verify | Account verification or activation |
| GET | /api/auth/verify/retry | Resend OTP for account verification |
| POST | /api/auth/login | Log in |
| GET | /api/auth/logout | Log out |
| POST | /api/orders | Create or place an order |
| GET | /api/orders | User retrieve own list of orders |
| GET | /api/orders/:id | User retrieve own single order |
| GET | /api/menu | Retrieve menu categories and items |
| POST | /api/payments | Create payment intent |
| GET | /api/admin/orders/:id | Admin retrieve a single order |
| GET | /api/admin/orders | Admin retrieve list of all the orders |
| PATCH | /api/admin/orders/:id | Admin update status of a single order |
- PostgreSQL
- Redis
- ExpressJS
- Sequelize ORM
- JSON Web Token
- Joi
- Bcrypt
- Twilio
- Cors
- Stripe
- Travis CI
- Heroku
Bertrand Masabo