Skip to content

Repository files navigation

NexStore API

A secure product management API that allows you to manage your product listings and reach your customers. Create and manage your product listings while your customers can view and filter all available products.

live API Documenation: NexStore API

How to Install

Step 1: Create a folder in your local machine and open it in your VS Code

Step 2: Enter https://github.com/gloriadasilva/Secure-Product-Management-API.git in your VS Code termina

Step 3: Enter cd your-project-folder-name

Step 4: Enter npm install to install all packages and dependencies.

NexStore Routes

– /api/v1/user: This route creates a new NexStore user

–/api/v1 /user/login: This route allows a NexStore user to log in with his/her credentials (email and password).

– /api/v1/auth/refresh: This route allows a NexStore user to refresh his/her expired token.

– /api/v1/user/logout: This route allows a NexStore user to log out.

– /api/v1/user/profile: This route allows you to fetch a NexStore user profile by ID.

– /api/v1/product: This route allows a NexStore user to create a new product.

– api/v1/product/edit/:id: This route allows a NexStore user to edit his/her product by ID.

– api/v1/product/delete/:id: This route allows a NexStore user to delete his/her product by ID.

– api/v1/products: This route retrieves all available products.

– api/v1/product/search: This route allows you to search for a product by name, price, rating, and sort them either in ascending or descending order.

– api/v1/product/:id: This route allows you to retrieve a specific product by its name.

About

A secure product management API for small business owners. Display your product details, update product, add product and delete them. Your customers can also view all products and filter by price, ratings, and name.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages