A back end for an e-commerce website that uses the latest technologies
A. Using functional Express.js
-
The database name, MySQL username, and MySQL are stored in environment variable file
-
Acessing that environment variable file allows my node server to connect to a database using Sequelize.
-
Passing the schema file into the database builds my database.
-
Running the npm run seed command populate the tables with data.
-
The node server command invokes the application, starts the server, and syncs the Sequelize models to the MySQL database
-
Through Insomnia I can open the GET routes for categories, products, or tags where the data for each route is displayed in a formatted JSON
-
Testing API POST, PUT, and DELETE routes through Insomnia will create, update, and delete data in my database
ecommerce-backend
Christopher Borer
MIT (https://opensource.org/licenses/MIT)
requires node.js, Mysql2, sequalize, and dotenv
back end for an e-commerce website
NA
contact contributors
screen shot video
- Video Screen shot: https://drive.google.com/file/d/1aFitRyncnHqynGB0SNIlqyF2usgb8vJ9/view
git hub