Sales Management

Sales Management is a RESTful CRUD API

Installation

Git clone this repository

CD into the created directory

$ run yarn

$ run yarn start to start server

Features

User (client) can sign up

User (client) can sign in

Admin can add a product

Admin/store attendant can get all products

Admin/store attendant can get a specific product

Store attendant can add a sale order

Admin can get all sale order records

API Routes

POST https://sales-management-app.herokuapp.com/api/v1/auth/signup - Create user account

POST https://sales-management-app.herokuapp.com/api/v1/auth/signin - Login a user

POST https://sales-management-app.herokuapp.com/api/v1/products - Create a product

POST https://sales-management-app.herokuapp.com/api/v1/sales - Create a sales order

GET https://sales-management-app.herokuapp.com/api/v1/products - Get all products

GET https://sales-management-app.herokuapp.com/api/v1/products/1 - Get a specific products

GET https://sales-management-app.herokuapp.com/api/v1/sales - Get all sales

GET https://sales-management-app.herokuapp.com/api/v1/sales/1 - Get a specific sales order

Links

Repository

Swagger API Docs

Project References

Author

ROPO JOHN OLATUJOYE