For this project, I have created the back end for an e-commerce website. As this is only the back end infrastructure, there is no end-user webpage to utilize. Instead, all testing and demonstration has been performed through Insomnia.
The project utilizes Express.js, Sequelize and a MySQL database.
First, the user should use git clone to copy this repository. Once this is complete, running npm init -y followed by npm i will install all needed dependencies. Please note that a .env file will need to be created in order to protect your personal MySQL information. Please see the .env.EXAMPLE file in order to ensure you follow the proper formatting.
The database will need to be created through MySQL. The information required for this exists in the schema.sql file within the config folder. Start MySQL in command line and paste in the two lines in order to complete this process.
To seed the datbase, run npm run seed in command line.
Here is a GIF demonstrating functionality:
To view a higher resolution version of this video, please navigate to my Google Drive.
To run the actual program, you may launch the Express.js server via command line. Options are npm start or node server.js. Either will launch.
Thank you to classmates Eric Kirberger and Azime Nail, tutor Dru Sanchez, and TAs Paul Cwik and Justyn Subrai for their guidance with this project.
All tests were performed via Insomnia. A demonstration of the functionality is in the walkthrough video in the Usage section above.
This project is licensed under the MIT license.
See more of my work here!
I can be reached via e-mail at sam.a.lerner@gmail.com. Thank you for reading!
