{"id":20087145,"url":"https://github.com/archana-nagaraj/ecommerce-backend","last_synced_at":"2026-04-14T14:33:16.562Z","repository":{"id":92158235,"uuid":"345142256","full_name":"archana-nagaraj/eCommerce-Backend","owner":"archana-nagaraj","description":"Building the back end for an e-commerce site by taking a working Express.js API and configure it to use Sequelize to interact with a MySQL database.","archived":false,"fork":false,"pushed_at":"2021-03-08T00:27:52.000Z","size":93,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T04:41:38.991Z","etag":null,"topics":["dotenv","ecommerce","express-js","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/archana-nagaraj.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":"2021-03-06T16:35:44.000Z","updated_at":"2023-02-07T06:26:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"23044d71-c2e5-4b3e-a088-b7c4df913ee4","html_url":"https://github.com/archana-nagaraj/eCommerce-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/archana-nagaraj/eCommerce-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archana-nagaraj%2FeCommerce-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archana-nagaraj%2FeCommerce-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archana-nagaraj%2FeCommerce-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archana-nagaraj%2FeCommerce-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archana-nagaraj","download_url":"https://codeload.github.com/archana-nagaraj/eCommerce-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archana-nagaraj%2FeCommerce-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["dotenv","ecommerce","express-js","mysql2","nodejs","sequelize"],"created_at":"2024-11-13T16:04:11.481Z","updated_at":"2026-04-14T14:33:16.543Z","avatar_url":"https://github.com/archana-nagaraj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# E-Commerce Backend (Object-Relational Mapping (ORM)\n[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)\n\n## Description \nThis project is about building the back end for an e-commerce site. This application used Express.js API and Sequelize to interact with a MySQL database. This application creates a database using mySQL with models and associations. API Routes are derived to perform RESTful CRUD operations using sequelized models and the same is being tested in Insomnia.\n\n## Table of Contents\n* [Installation](#installation)\n* [Demonstration](#Demonstration)\n* [License](#license)\n* [Tests](#tests)\n* [Questions](#questions)\n\n## Installation \n\n* Dependencies/Packages\n    - Node.js\n    - Express.js\n    - MySQL2\n    - Sequelize\n    - dotenv\n\n* Git clone the repo from Github\n\n* Navigate to the folder and run `npm install` in your terminal.\n\n* Be sure to include your MySQL user/password information in .env file.\n\n* Database Connection\n    - `mysql -u root -p`\n    - `source schema.sql`\n    - `npm run seed` [To seed the file]\n\n* Run the app\n     - `npm start` [To start the server] and navigate to \u003chttp://localhost:3002/\u003e in your browser OR Use Insomnia Core\n\n## Demonstration \nThis application will allow users to view, add, edit, and delete categories, products, and tags. Below videos demonstrate the functionality of the e-commerce back end.\n\n1. Walkthrough video covers MySQL shell [Click here](https://drive.google.com/file/d/1aDIpl7tWHzKQ0azCVqr8WziJHOI3ft1V/view)\u003cbr\u003e\n    * Source the schema \u003cbr\u003e\n    * Seed the database \u003cbr\u003e\n    * Start the npm Server\n       \n2. Walkthrough video covers API routes being tested in Insomnia Core. [Click here](https://drive.google.com/file/d/1M9CpVWk4thP-Rro-VD4ReE9DivpzTRGB/view)\u003cbr\u003e\n    *  GET routes for all categories, all products, and all tags \u003cbr\u003e\n    *  GET routes for a single category, a single product, and a single tag by Id\u003cbr\u003e\n    *  POST, PUT, and DELETE routes for categories, products, and tags\n\n3. Walkthrough video showing all the technical acceptance criteria met. [CLick here](https://drive.google.com/file/d/1qy8DMYaecLxnBzoLKwPnXkWg74nQPx8I/view?usp=sharing)\u003cbr\u003e\n    * Uses the MySQL2 and Sequelize packages to connect to a MySQL database\n    * Uses the dotenv package to use environment variables to store sensitive data, like a user’s MySQL username, password, and database name.\n    * Syncs Sequelize models to a MySQL database on the server start.\n    * Column definitions for all four models\n    * Model associations\n\n## License \nThis project is licensed under ISC\n\n## Tests\nThere are no tests for this application. \n\n## Questions\nFor any questions about the project/repository please contact me @ [archana.nagaraj@gmail.com](mailto:archana.nagaraj@gmail.com) \u003c/br\u003e\nGitHub @ [archana-nagaraj](https://github.com/archana-nagaraj) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchana-nagaraj%2Fecommerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchana-nagaraj%2Fecommerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchana-nagaraj%2Fecommerce-backend/lists"}