This node.js application was built using Express.js, MySQL, and Sequelize and secured with dotenv to house login criteria. This command line application utilizes functional Express.js API calls to connect to a database using Sequelize. Instructions to install dependencies, enter login criteria, run, and test this application can be found in the respective tags below as well as a demonstration video.
https://drive.google.com/file/d/1zhJh6JxvsbBJBr6-hLlROysb-EmKY8_l/view
To install necessary dependencies, run command:
npm i
Instructions for use E-commerce Back End:
First create a .env file with your database name, MySQL username, and MySQL password to connect to the database. Then run command npm seed to load the database and npm start to run the server.
This application is covered under MIT. To read view documentation about this license, please visit the link below.
https://opensource.org/licenses/ISC
Guidelines to contribute to this project:
Clone repository, create a sandbox branch, and submit a pull request for review.
Instructions to run tests on this application:
Start MySQL shell with login criteria and source schema.sql to initialize test database. In command line, run npm seed to seed test data and npm start to invoke the application. Once server is listening, open API GET routes to see formatted JSON for each route. Test API POST, PUT, and DELETE routes to create, update, and delete data in the development database.
To view my other work, please visit my GitHub profile at ConnieMarie.