Skip to content

pick-cee/Digital-SuperStore-API

Repository files navigation

The backend server for the Digital Superstore

Akinloluwa Olumuyide - Lead Backend Developer
Effi Emmanuel Nwachukwu - Backend Developer

This project was assigned to my team by our Object Oriented Programming lecturer.

We show all the different principles of Object Oriented Programming and how they can be used in a real world application, while building a RESTful API at the same time.

The API was written in TypeScript which compiles down to JavaScript.

List of endpoints created for users of the system

  1. Register
  2. Login
  3. Forgot password
  4. Reset password
  5. Verify email
  6. Resend verification code
  7. Add products to cart
  8. Add products to wishlist
  9. Delete products from cart
  10. Delete products from wishlist
  11. Get by email
  12. Get by id
  13. Make Order
  14. Delete order
  15. Make payment/Checkout cart
  16. Verify payment
  17. Search products
  18. Search a product by category

NOTE: There are some endpoints with the same name but with different functions. It was all used for developemnt purposes.

List of endpoints created for the admin

  1. Login
  2. Get all uers
  3. Create product
  4. Update product
  5. Delete product
  6. Get all products
  7. Get all user monthly stats
  8. Get a user monthly stats
  9. Create admin

Run the aplication

  1. Clone the repository using: git clone

Start the server

  1. Install all dependencies using: npm install
  2. Then start the server using: npm run dev

Postman documentation - Documented by Akinloluwa Olumuyide.

Live link to the API - Deployed by Akinloluwa Olumuyide.

Link to the full application - Designed and deployed by Effi Emmanuel.

About

A school project intended to show the principles of OOP. Written in typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published