{"id":19325819,"url":"https://github.com/blindsweatyhansolo/e-commerce-backend","last_synced_at":"2026-07-05T11:30:17.712Z","repository":{"id":111723743,"uuid":"491934099","full_name":"blindsweatyhansolo/e-commerce-backend","owner":"blindsweatyhansolo","description":"Performing CRUD functions on products, product categories, and product tags in a fictional database for learning purposes.","archived":false,"fork":false,"pushed_at":"2022-05-22T22:26:45.000Z","size":17168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T06:43:48.907Z","etag":null,"topics":["crud","dotenv","expressjs","mysql","mysql2","nodejs","sequelize"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blindsweatyhansolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-13T14:41:29.000Z","updated_at":"2022-08-23T18:48:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb3a0e77-81bb-432e-92bc-518ae9ef4f9b","html_url":"https://github.com/blindsweatyhansolo/e-commerce-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blindsweatyhansolo%2Fe-commerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blindsweatyhansolo%2Fe-commerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blindsweatyhansolo%2Fe-commerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blindsweatyhansolo%2Fe-commerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blindsweatyhansolo","download_url":"https://codeload.github.com/blindsweatyhansolo/e-commerce-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240427316,"owners_count":19799471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","dotenv","expressjs","mysql","mysql2","nodejs","sequelize"],"created_at":"2024-11-10T02:11:32.692Z","updated_at":"2026-07-05T11:30:17.652Z","avatar_url":"https://github.com/blindsweatyhansolo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ORM: E-Commerce Back End\n\n## Table of Contents\n\n* [Description](#description)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Testing](#testing)\n* [Contributions](#contributions)\n* [Additional Information](#additional-information)\n\n## [Description:](#table-of-contents)\nE-Commerce Back End is a Node application for performing CRUD (create, read, update, delete) functions on products, product categories, and product tags in a fictional database for learning purposes. Focusing on using Sequelize to create Models, associations/relationships between Models, and creating GET, PUT, POST, and DELETE routes for API use. \n\n_User Story:_\n```\nAS A manager at an internet retail company\nI WANT a back end for my e-commerce website that uses the latest technologies\nSO THAT my company can compete with other e-commerce companies\n```\n\n\n## [Installation:](#table-of-contents)\nThis is a back-end application with no front-end implementation, but requires MySQL. Please ensure you have MySQL installed on your machine. *For information on how to install MySQL please click [here](https://coding-boot-camp.github.io/full-stack/mysql/mysql-installation-guide)*\n\n1. Clone this repository onto your machine with `git clone`\n2. From the root directory, install dependencies with `npm install`\n3. Open a connection to MySQL in the root directory, and create the database with `source db/schema.sql`\n4. Return to the command line and run command `npm run seed` to seed the database with provided data\n\n## [Usage:](#table-of-contents)\nWalkthrough Videos:\n1. [Installation](https://drive.google.com/file/d/1QdU3CCgy028uUsrlLauXyX6hK7xvcf-B/view)\n2. [Models \u0026 Associations Breakdown](https://drive.google.com/file/d/1WkfLIEYDlrexxrXYyV0YollMr8PfgOAZ/view)\n3. [GET Routes](https://drive.google.com/file/d/10QfYwE7i_jMkE0jLQe3ngblDKQE9b-Ib/view)\n4. [POST Routes](https://drive.google.com/file/d/1xvnhDJTw1mQZZva8w2U0zPtff2cXSrS0/view)\n5. [PUT / DELETE Routes](https://drive.google.com/file/d/1ix0ynIVW9LSX4mGBjiz88wBLVG1dW-F4/view)\n\n***\n\nOnce dependencies have been installed, make a copy of the **.envEXAMPLE** file, drop the **EXAMPLE** portion in the name, and fill in the required fields with your MySQL username and password (note: username is usually *root* if working on your own machine):\n\n![Picture of env example](./assets/envExample.PNG)\n\nStart the database connection and server from the command line with `npm start`, then you can use a REST Client (Insomnia used in examples) to test endpoints:\n\n**Finding all Categories, Products, Product Tags:**\n\n![Demo gif of GET all routes](./assets/GETall.gif)\n\n**Finding individual Categories, Products, Product Tags using ids (PrimaryKeys):**\n\n![Demo gif of GET single routes](./assets/GETsingle.gif)\n\n**Create new instances of Categories, Products, Product Tags:**\n\n![Demo gif of POST routes](./assets/POSTeach.gif)\n\n**Update Categories, Products, Product Tags:**\n\n![Demo gif of PUT routes](./assets/PUTeach.gif)\n\n**Delete Categories, Products, Product Tags using ids (PrimaryKeys):**\n\n![Demo gif of DELETE routes](./assets/DELETEeach.gif)\n\n## [Testing:](#testing)\nAs seen above, test API endpoints with a REST Client such as [Insomnia](https://insomnia.rest/) or [Postman](https://www.postman.com/)\n\n## [Contributions:](#table-of-contents)\nContributions always welcome!\n\n## [Additional Information:](#table-of-contents)\nTechnologies Used:\n* Node.js\n* Express.js\n* MySQL\n* [Sequelize](https://sequelize.org/)\n\nNoteable Packages Used:\n* [mysql2](https://www.npmjs.com/package/mysql2) (*required*)\n* [dotenv](https://www.npmjs.com/package/dotenv) (*required*)\n* [nodemon](https://www.npmjs.com/package/nodemon)\n\n_If you have any questions about the application, or would like to become a contributor, please contact me using the information below:_\n\n[GitHub](https://github.com/blindsweatyhansolo)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblindsweatyhansolo%2Fe-commerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblindsweatyhansolo%2Fe-commerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblindsweatyhansolo%2Fe-commerce-backend/lists"}