Skip to content

An Express.js REST API for an e-commerce site built with Node.js, Express.js and MongoDB as the database.

Notifications You must be signed in to change notification settings

sosyfy/e-commerce-rest-api

Repository files navigation

E-Commerce API

An Express.js REST API for an e-commerce site built with Node.js, Express.js and MongoDB as the database.

Summary

This E-Commerce API is a flexible and powerful tool for building e-commerce websites and applications. It uses Node.js, a popular JavaScript runtime, and Express.js, a web framework for Node.js, to handle the server-side logic and routing of the application. MongoDB is used as the database to store and retrieve product, customer and order data. The API offers a wide range of endpoints for various e-commerce functionalities such as product management, customer authentication, and order processing.

Features

  • Product management endpoints for CRUD operations on products
  • Customer authentication endpoints for registering, logging in and managing customer information
  • Order processing endpoints for creating, managing and processing orders
  • Built with Node.js, Express.js and MongoDB
  • Robust and scalable architecture
  • Easy to set up and use

Getting Started

  1. Clone the repository: git clone https://github.com/sosyfy/e-commerce-rest-api.git
  2. Install dependencies: npm install or yarn install
  3. Set up your MongoDB credentials in the config.js file
  4. Start the development server: npm start or yarn start
  5. Test the endpoints using a tool such as Postman

Dependencies

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose (for MongoDB object modeling)

Contributions

Contributions are always welcome! If you have any suggestions or find a bug, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

An Express.js REST API for an e-commerce site built with Node.js, Express.js and MongoDB as the database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published