{"id":20080211,"url":"https://github.com/williamscch/myshop","last_synced_at":"2026-04-11T17:38:57.360Z","repository":{"id":150906888,"uuid":"623059811","full_name":"williamscch/myshop","owner":"williamscch","description":"Online shop","archived":false,"fork":false,"pushed_at":"2023-04-09T16:54:55.000Z","size":812,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-13T01:26:07.872Z","etag":null,"topics":["docker","docker-compose","expressjs","nodejs","postgresql","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/williamscch.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":"2023-04-03T16:00:59.000Z","updated_at":"2023-04-07T06:53:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"531d2b7a-c743-40ac-800e-abe32ea6bbec","html_url":"https://github.com/williamscch/myshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"microverseinc/readme-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamscch%2Fmyshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamscch%2Fmyshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamscch%2Fmyshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamscch%2Fmyshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamscch","download_url":"https://codeload.github.com/williamscch/myshop/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241510866,"owners_count":19974318,"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":["docker","docker-compose","expressjs","nodejs","postgresql","sequelize"],"created_at":"2024-11-13T15:27:07.362Z","updated_at":"2026-04-11T17:38:52.339Z","avatar_url":"https://github.com/williamscch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MY SHOP\n\nMY SHOP is a Restful API that is functional for an online shop. Users can see products, filter them by category, price and name, as well as add products to the shopping cart and place orders. You can also log in as an admin, who can manage the web app, adding categories and products, as well as deleting and updating them, and managing users and customers.\n\n## Front-end Repository\n\nThe front-end repository for this project can be found at: https://github.com/williamscch/myshop-client\n\n## Built With\n\n- Node.js\n- Express\n- PostgreSQL\n- Docker\n- JWT\n- Joi\n- Sequelize\n- Passport\n- Bcrypt\n\n## Requirements\n\nTo run this project locally, you will need:\n\n- Node.js v14 or later\n- Docker\n- Postgres\n\n## Getting Started\n\n1. Clone the repository from GitHub:\n\n`git clone https://github.com/williamsch/myshop.git`\n\n2. Install all dependencies:\n\n`npm install`\n\n3. Set up the database with Docker:\n\n`docker-compose up postgres`\n\n4. Run the migrations:\n\n`npx sequelize-cli db:migrate`\n\n\n5. Use the seed file to populate the database: (currently can be done just once because we are not tracking the seeds migrations and some duplicated values will not be allowed, so take care)\n\n`npx sequelize-cli db:seed:all`\n\n6. Copy the environment variables specified in the `.env.example` file and create a new `.env` file in the root directory of the project. Make sure to set the `NODE_ENV` variable to `development`.\n\n7. Start the development server:\n\n`npm run dev`\n\nThe app will now be running on `http://localhost:3050`.\n\n8. IMPORTANT: There are 2 pre created users after you run the seeds:\n\n- Admin User: \"admin@email.com\" password:\"admin1234\" (You can not create more admin users from the client interface, so it is important to keep this one)\n\n- Customer User: \"david@email.com\" password: \"user1234\" (YOu can create more customers from the client interface, this is just for testing purposes)\n\n## Usage\n\nThe API endpoints are documented in the `API.md` file.\n\n## Author\n\nWilliams Colmenares\n\n- [LinkedIn](https://www.linkedin.com/in/williamscolmenaresch/)\n- [GitHub](https://github.com/williamscch)\n\n## ERD Diagram\n\n\u003e ![](./erd.png)\n\n## 🔭 Future Features \n\n- [ ] **[Swagger Documentation]**\n- [ ] **[JWT Refresh]**\n- [ ] **[Pagination]**\n- [ ] **[Deployment]**\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](../../issues/).\n\n## 📝 License \n\nThis project is [MIT](./MIT.md) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamscch%2Fmyshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamscch%2Fmyshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamscch%2Fmyshop/lists"}