Skip to content

This API is a comprehensive solution for managing an online shoe store. It provides a robust set of endpoints for handling user authentication, product management, category management, cart functionality, and order processing. Built with Node.js, Express, and MongoDB, it leverages modern technologies to deliver a seamless and efficient backend sv

License

Notifications You must be signed in to change notification settings

nqmgaming/shoes-shop-api

Repository files navigation

Shoes Shop API

This project is a RESTful API for a Shoes Shop, built with Node.js, Express, and MongoDB. It provides a backend service for an online shoe store, allowing users to manage products, categories, carts, and orders.

Features

  • User authentication and authorization
  • CRUD operations for products
  • CRUD operations for categories
  • Cart management
  • Order management

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JSON Web Tokens (JWT)
  • bcrypt for password hashing
  • Joi for request validation
  • dotenv for environment variable management
  • Cloudinary for image storage
  • Multer for handling multipart/form-data

Getting Started

  1. Clone the repository to your local machine.
  2. Run npm install to install all the dependencies.
  3. Create a .env file in the root directory and set up your environment variables (check .env.example for reference).
  4. Run npm start to start the server.

API Endpoints

  • /users: User management (register, login, get user profile, update user profile)
  • /categories: Category management (read)
  • /products: Product management (read, update, search)
  • /carts: Cart management (add product, remove product, view cart)
  • /orders: Order management (create order, update order status, delete order)

API Documentation

  • You can find the API documentation here.
  • Email me to get the password to access the documentation.

Contact

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.

About

This API is a comprehensive solution for managing an online shoe store. It provides a robust set of endpoints for handling user authentication, product management, category management, cart functionality, and order processing. Built with Node.js, Express, and MongoDB, it leverages modern technologies to deliver a seamless and efficient backend sv

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages