{"id":22195303,"url":"https://github.com/andrewhamerly/ecommerce-backend","last_synced_at":"2026-04-11T12:41:03.151Z","repository":{"id":240118204,"uuid":"801722047","full_name":"andrewhamerly/ecommerce-backend","owner":"andrewhamerly","description":"This project involves building the back end for an e-commerce site using Express.js and Sequelize with a PostgreSQL database. It demonstrates a functional API capable of handling CRUD operations for categories, products, and tags. The project includes database configuration, schema creation, and data seeding.","archived":false,"fork":false,"pushed_at":"2024-05-31T16:24:23.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T09:47:28.585Z","etag":null,"topics":["api","dotenv","ecommerce-backend","express","express-api","express-js","expressjs","javascript","node","node-js","node-js-express","node-js-server","nodejs","nodejs-api","postgresql","postgresql-database","sequelize","sequelize-orm"],"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/andrewhamerly.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}},"created_at":"2024-05-16T19:36:08.000Z","updated_at":"2024-05-31T16:28:01.000Z","dependencies_parsed_at":"2024-05-16T21:00:39.669Z","dependency_job_id":"ebcb6588-4183-4116-b5f1-14fc96a1d6ca","html_url":"https://github.com/andrewhamerly/ecommerce-backend","commit_stats":null,"previous_names":["andrewhamerly/ecommerce-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewhamerly/ecommerce-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhamerly%2Fecommerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhamerly%2Fecommerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhamerly%2Fecommerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhamerly%2Fecommerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewhamerly","download_url":"https://codeload.github.com/andrewhamerly/ecommerce-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhamerly%2Fecommerce-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31681201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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","dotenv","ecommerce-backend","express","express-api","express-js","expressjs","javascript","node","node-js","node-js-express","node-js-server","nodejs","nodejs-api","postgresql","postgresql-database","sequelize","sequelize-orm"],"created_at":"2024-12-02T13:17:52.113Z","updated_at":"2026-04-11T12:41:03.132Z","avatar_url":"https://github.com/andrewhamerly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-commerce Backend Project\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Walkthrough Video](#walkthrough-video)\n- [Technologies Used](#technologies-used)\n- [License](#license)\n- [Contributing](#contributing)\n- [Questions](#questions)\n\n## Introduction\n\nThis project involves building the back end for an e-commerce site using Express.js and Sequelize with a PostgreSQL database. It demonstrates a functional API capable of handling CRUD operations for categories, products, and tags. The project includes database configuration, schema creation, and data seeding.\n\n## Installation\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/andrewhamerly/ecommerce-backend.git\n    ```\n\n2. **Navigate to the project directory:**\n    ```bash\n    cd ecommerce-backend\n    ```\n\n3. **Install dependencies:**\n    ```bash\n    npm install\n    ```\n\n4. **Set up environment variables:**\n    Create a `.env` file in the root directory and add the following:\n    ```env\n    DB_NAME=your_database_name\n    DB_USER=your_postgresql_username\n    DB_PASSWORD=your_postgresql_password\n    ```\n\n## Usage\n\n1. **Create and seed the database:**\n    ```bash\n    psql -U postgres\n    \\i db/schema.sql\n    npm run seed\n    ```\n\n2. **Start the application:**\n    ```bash\n    npm start\n    ```\n\n3. **Testing the API routes:**\n    Use Insomnia or a similar API client to test the following routes:\n    - GET `/api/categories`\n    - GET `/api/products`\n    - GET `/api/tags`\n    - POST `/api/categories`\n    - POST `/api/products`\n    - POST `/api/tags`\n    - PUT `/api/categories/:id`\n    - PUT `/api/products/:id`\n    - PUT `/api/tags/:id`\n    - DELETE `/api/categories/:id`\n    - DELETE `/api/products/:id`\n    - DELETE `/api/tags/:id`\n\n## Walkthrough Video\n\n[Click here to watch the walkthrough video](https://drive.google.com/file/d/1d3foP10ZnjivZjO8H7a1ybVLonJbjkQx/view?usp=sharing)\n\n## Technologies Used\n\n- Node.js\n- Express.js\n- Sequelize\n- PostgreSQL\n- dotenv\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.\n\n## Questions\n\nIf you have any questions about the project, please feel free to contact me via email at [contact@andrewhamerly.com](mailto:contact@andrewhamerly.com). You can also find more of my work on [GitHub](https://github.com/andrewhamerly).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewhamerly%2Fecommerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewhamerly%2Fecommerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewhamerly%2Fecommerce-backend/lists"}