Functional backend of a typical CRUD eccomerce site
Strutually efficient backend infrastructure to a common E-Commerce website.
- Express
- mysql2 (NPM Module)
- Sequalize
- First you mush clone the git hub repository to directory/folder of your choice
- Navigate to the aformentioned directory using terminal or Bash
- Run
npm install
to install the required packages - In the same directory, run
mysql -u root -p
and you will be prompt to enter your mysql password - Once you have access to Mysql, run
source db/schema.sql
- You can now exit mysql using
quit;
- Now to seed the data base, run
npm run seed
- Once you have your database seeded, you can start the server.
npm start
ornpm run watch
to start with nodemon.
This application simulates the common back-end practices that are utilized in a common e-commerce website. Databases are an important part of websites in the modern era and there are a countless number of technologies that are used to implement databases in new and efficient ways. Sequalize is one of those technologies and its ease of use with mysql2 makes it a very reliable javascript technology to have under your belt