Skip to content

kelechinwaji/product-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

product-api

An inventory management application built to enable business owners keep track of products.

API Functionality

Product-api follows an Express based Restful API design, which is used to access MongoDB Database for data storage and retrival. The API's are authenticated using Jasonweb tokens to ensure privacy when retreving and storing data in persistent storage.

The Product-api provides the following Endpoints:

  1. Create user
  2. Login for users
  3. Get all users
  4. Delete user
  5. Create Product
  6. Get users Product
  7. Update users Product
  8. Delete users Product.

USEAGE

  • To create a user, an email, password and name is entered. This image shows the interface. po1

  • To Login to your account, pass in your email and password. po2

  • To create a product, pass in the required data. po3

  • To delete product po4

What I learnt on this project

  • How to implement Jasonwebtoken for authentication
  • How to work with mongoDB Database
  • How to use typescript interface
  • How to Omit data from a payload

About

An inventory management application built to enable business owners keep track of products

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published