Full Ecommerce system API

This GitHub repo contains the backend API for an online store or ecommerce. Built with Node.js and TypeScript using the Express framework.

Features:

  • User authentication using JWT and Passport.js
  • MySQL database connected through TypeORM for reliable and intuitive database operations
  • Nodemailer integration for sending emails, including password recovery and other notifications
  • Cloudinary API for storing and managing product images
  • Boom for sending developer-friendly errors to the frontend
  • Joi for data filtering and validation to ensure data consistency and integrity.

How to run project Locally?

  1. Clone this repository
https://github.com/jorgezerpa/dashboard-ecommerce.git
  1. Install all dependencies (preferibly use clean install)
npm ci 

or

npm install 
  1. create a .env file on the root folder and set the needed variables. (You will find enviroment variables information on the .env.example file).

  2. Run the project with the command:

npm run dev
  1. THAT'S ALL! here you can see the API documentation.

Happy coding my friend :)