{"id":21037713,"url":"https://github.com/ianahart/e-commerce-backend","last_synced_at":"2026-05-06T17:32:03.383Z","repository":{"id":229179692,"uuid":"776040311","full_name":"ianahart/e-commerce-backend","owner":"ianahart","description":"This is an express and mysql backend e-commerce application.","archived":false,"fork":false,"pushed_at":"2024-03-22T19:07:26.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T07:27:33.850Z","etag":null,"topics":["api","backend","e-commerce","express","mysql","sequelize"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianahart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-22T15:00:23.000Z","updated_at":"2024-03-22T15:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"11b9d7dd-3494-4ea8-90af-ada84976d2d6","html_url":"https://github.com/ianahart/e-commerce-backend","commit_stats":null,"previous_names":["ianahart/e-commerce-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ianahart/e-commerce-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fe-commerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fe-commerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fe-commerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fe-commerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianahart","download_url":"https://codeload.github.com/ianahart/e-commerce-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fe-commerce-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32704291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","backend","e-commerce","express","mysql","sequelize"],"created_at":"2024-11-19T13:27:41.571Z","updated_at":"2026-05-06T17:32:03.377Z","avatar_url":"https://github.com/ianahart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-commerce Backend\n\n![Node.js](https://camo.githubusercontent.com/85cba226a1290d078f1a437aa87cb872a5bdb30037fa96b8afcddf163cd5b328/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d4e6f64652e6a7326636f6c6f723d333339393333266c6f676f3d4e6f64652e6a73266c6f676f436f6c6f723d464646464646266c6162656c3d)\n![MySQL](https://camo.githubusercontent.com/43cb8083b53aaf9847087cc27dcc556a66b7b1f32ca77c3091aed2e3f9c2c277/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d4d7953514c26636f6c6f723d343437394131266c6f676f3d4d7953514c266c6f676f436f6c6f723d464646464646266c6162656c3d)\n![Express.js](https://camo.githubusercontent.com/dd688eaaa262ca0022a159962f55bfd35cababef5df983fb2b3c136e62256b5e/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d4578707265737326636f6c6f723d303030303030266c6f676f3d45787072657373266c6f676f436f6c6f723d464646464646266c6162656c3d)\n![Sequelize](https://camo.githubusercontent.com/b4637d1df0ccfefc5971f0afab56330893bb86fc1b5299cb3fb3bc391ca24115/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666f722d7468652d6261646765266d6573736167653d53657175656c697a6526636f6c6f723d323232323232266c6f676f3d53657175656c697a65266c6f676f436f6c6f723d353242304537266c6162656c3d)\n\n## Built With\n\n- Node.js\n- MySQL\n- Express\n- Sequelize\n\n## Description\n\nThis application creates the backend of an e-comerce website by using Express.js Framework and Sequelize ORM to interact with a MySQL database. It includes RESTful routes for **Products**, **Categories**, and **Tags**.\n\n## Table of Contents\n\n- [E-commerce Backend](#e-commerce-backend)\n  - [Built With](#built-with)\n  - [Description](#description)\n  - [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Visuals](#visuals)\n  - [Tests](#tests)\n  - [Credits](#credits)\n  - [References](#references)\n  - [License](#license)\n  - [Contributing](#contributing)\n  - [Badges](#badges)\n  - [Questions](#questions)\n\n## Installation\n\n- Download Node.js at [Node.js](https://nodejs.org/en) if not already installed. You can check if it is installed by typing `node-v` in your command line.\n- Fork the repo to make a copy.\n- Next, clone the project using `git clone https://github.com/ianahart/e-commerce-backend.git`.\n- To install dependencies, make sure you're in the root of the project and run `npm install`.\n- In the root of the directory create a `.env` file with your database credentials that match `env.EXAMPLE`.\n- in a terminal window navigate to the root of the project directory and run `mysql -u root -p`.\n- Once inside the MySQL shell run `source db/schema.sql;`\n- In a terminal window run the command `npm run seed` to seed the database with e-commerce data.\n\n## Usage\n\n- To start the application, use either `node server.js` or `npm start`.\n- To access the API routes you can use a web client such as [Insomnia](https://insomnia.rest/download) or [Postman](https://www.postman.com/)\n  | Entity | Description | HTTP Method | Route |\n  |------------|------------------------------|-------------|-----------------------------------------|\n  | Categories | Manage categories | GET | http://localhost:3001/api/categories |\n  | | | GET | http://localhost:3001/api/categories/{category_id} |\n  | | | POST | http://localhost:3001/api/categories |\n  | | | PUT | http://localhost:3001/api/categories/{category_id} |\n  | | | DELETE | http://localhost:3001/api/categories/{category_id} |\n  | Products | Manage products | GET | http://localhost:3001/api/products |\n  | | | GET | http://localhost:3001/api/products/{product_id} |\n  | | | POST | http://localhost:3001/api/products |\n  | | | PUT | http://localhost:3001/api/products/{product_id} |\n  | | | DELETE | http://localhost:3001/api/products/{product_id} |\n  | Tags | Manage tags | GET | http://localhost:3001/api/tags |\n  | | | GET | http://localhost:3001/api/tags/{tag_id} |\n  | | | POST | http://localhost:3001/api/tags |\n  | | | PUT | http://localhost:3001/api/tags/{tag_id} |\n  | | | DELETE | http://localhost:3001/api/tags/{tag_id} |\n\n## Visuals\n\n\u003cdiv\u003e\n  \u003cvideo src=\"https://github.com/ianahart/e-commerce-backend/assets/29121238/90dfff32-8198-4dd4-afe1-4b5098935062\" width=\"650\" controls type=\"video/mp4\" /\u003e\n\u003c/div\u003e\n\n\n## Tests\n\nN/A\n\n## Credits\n\nStarter files and working Express API provided by edX Boot Camps LLC.\n\n## References\n\n[Sequelize Documentation](https://sequelize.org/docs/v6/)\n\n## License\n\nThis project is covered under MIT License\n\n\u003cdetails\u003e\n  \u003csummary\u003e\n    License Text\n  \u003c/summary\u003e\n\n```\n\nCopyright (c) 2024  Ian Hart\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n\n\u003c/details\u003e\n\n## Contributing\n\nNo contributions are being accepted at this time.\n\n## Badges\n\n[![GitHub license](https://img.shields.io/github/license/ianahart/e-commerce-backend)](https://github.com/ianahart/e-commerce-backend/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/ianahart/e-commerce-backend)](https://github.com/ianahart/e-commerce-backend/issues)\n[![GitHub stars](https://img.shields.io/github/stars/ianahart/e-commerce-backend)](https://github.com/ianahart/e-commerce-backend/stargazers)\n\n## Questions\n\n- Get in touch with me through [email](mailto:ianalexhart@gmail.com).\n- Check out my GitHub [profile](https://github.com/ianahart).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianahart%2Fe-commerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianahart%2Fe-commerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianahart%2Fe-commerce-backend/lists"}