{"id":18451494,"url":"https://github.com/trasherdk/codesandbox-ecommerce-shop","last_synced_at":"2025-04-19T14:00:12.338Z","repository":{"id":37922514,"uuid":"391838441","full_name":"trasherdk/codesandbox-ecommerce-shop","owner":"trasherdk","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-24T23:43:28.000Z","size":4293,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T14:07:25.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/trasherdk.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-08-02T06:29:24.000Z","updated_at":"2022-07-23T08:40:13.000Z","dependencies_parsed_at":"2024-11-06T07:30:40.886Z","dependency_job_id":"fa76a901-5a19-45fb-849e-5ab0ddb5f518","html_url":"https://github.com/trasherdk/codesandbox-ecommerce-shop","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/trasherdk%2Fcodesandbox-ecommerce-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fcodesandbox-ecommerce-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fcodesandbox-ecommerce-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fcodesandbox-ecommerce-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trasherdk","download_url":"https://codeload.github.com/trasherdk/codesandbox-ecommerce-shop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249494500,"owners_count":21281661,"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":[],"created_at":"2024-11-06T07:28:50.965Z","updated_at":"2025-04-18T12:40:13.667Z","avatar_url":"https://github.com/trasherdk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turing Back End Challenge\nTo complete this challenge, you need to ensure all route returns a similar response object as described in our API guide.\nTo achieve this goal\n- You will have to fix the existing bugs\n- Implement the incomplete functions,\n- Add test cases for the main functions of the system.\n- Add Dockerfile to the root of the project to run the app in docker environment\n\n\n## Getting started\n\n### Prerequisites\n\nIn order to install and run this project locally, you would need to have the following installed on you local machine.\n\n* [**Node JS**](https://nodejs.org/en/)\n* [**Express**](https://expressjs.com/)\n* [**MySQL**](https://www.mysql.com/downloads/)\n\n### Installation\n\n* Clone this repository\n\n* Navigate to the project directory\n\n* Run `npm install` or `yarn` to instal the projects dependencies\n* create a `.env` file and copy the contents of the `.env.sample` file into it and supply the values for each variable\n\n```sh\ncp .env.sample .env\n```\n* Create a MySQL database and run the `sql` file in the database directory to migrate the database\n\n```sh\nmysql -u \u003cdbuser\u003e -D \u003cdatabasename\u003e -p \u003c ./src/database/database.sql\n```\n\n* Run `npm run dev` to start the app in development\n\n## Docker\n\n* Build image\n\n`docker build -t node_challenge .`\n\n* Run container\n`docker run --rm -p 8000:80 node_challenge`\n\n## Request and Response Object API guide for all Endpoints\nCheck [here](./Backend-Challenge-API-Template.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fcodesandbox-ecommerce-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrasherdk%2Fcodesandbox-ecommerce-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fcodesandbox-ecommerce-shop/lists"}