/Ecommerce-Api

Working with various endpoints and request, response in js along with security features

Primary LanguageJavaScript

To Do:

  • Routes
  • Items in Cart Endpoint

Ecommerce-API

Ecommerce API endpoints with MongoDB as database. JWT tokens are generated for authentication and signup-login process with cookie (storing jwt token) for authorization. Mongo-Client is used for connecting API to Database.

image

Current implemented endpoints:

/signup

image

/login

without signup ( Authorization ) image

login (after signup) image

/itemsBought

image

/newPurchase

without login ( Authentication ) image

after login image

/logout

image