An E-Commerce backend app that utilizes Node.js, Sequelize, and Express.js. This app creates custom API endpoints which allow the user to create, read, update, and delete from the E-Commerce MySQL database. The database contains information about the products that the site will sell. The product information is compartmentalized in related tables within the database which were created using the ORM Sequelize.
To install the npm dependencies cd into the main directory and run:
npm i
cd db && mysql -u root -p
source schema.sql
exit
cd..
npm run seed
To use this node app, clone the repo down, use the terminal to cd into the root directory. Then run:
npm start
Use the terminal and start up the server. You can then access the API endpoints througha web browser or Insomnia.
To test please run:
npm test
Please feel free to collaborate with me on this project! Just fork it and submit a well documented pull request.
If you have any questions, please contact me at techx@opayq.com