{"id":24757928,"url":"https://github.com/noureldin2303/e-commerce-with-typescript-nodejs-express","last_synced_at":"2025-10-11T05:30:53.599Z","repository":{"id":149983615,"uuid":"609665391","full_name":"Noureldin2303/e-commerce-with-TypeScript-Nodejs-Express","owner":"Noureldin2303","description":"e-commerce with TypeScript, Nodejs, and Express","archived":false,"fork":false,"pushed_at":"2025-01-16T16:06:01.000Z","size":1012,"stargazers_count":10,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T17:22:29.783Z","etag":null,"topics":["backend","communityexchange","ecommerce","express","javascript","js","jwt","jwt-authentication","jwt-token","learn","mean-stack","mongodb","node","node-js","nodejs","server","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Noureldin2303.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-04T21:29:48.000Z","updated_at":"2025-01-16T16:05:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e195aaa-0f9d-44a5-9c10-e44e9f609bb9","html_url":"https://github.com/Noureldin2303/e-commerce-with-TypeScript-Nodejs-Express","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/Noureldin2303%2Fe-commerce-with-TypeScript-Nodejs-Express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noureldin2303%2Fe-commerce-with-TypeScript-Nodejs-Express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noureldin2303%2Fe-commerce-with-TypeScript-Nodejs-Express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noureldin2303%2Fe-commerce-with-TypeScript-Nodejs-Express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Noureldin2303","download_url":"https://codeload.github.com/Noureldin2303/e-commerce-with-TypeScript-Nodejs-Express/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236042191,"owners_count":19085882,"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":["backend","communityexchange","ecommerce","express","javascript","js","jwt","jwt-authentication","jwt-token","learn","mean-stack","mongodb","node","node-js","nodejs","server","typescript"],"created_at":"2025-01-28T15:37:04.528Z","updated_at":"2025-10-11T05:30:48.224Z","avatar_url":"https://github.com/Noureldin2303.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e-commerce backend 🚀\n\n\n\n### [![TypeScript](https://skillicons.dev/icons?i=ts)](https://skillicons.dev) [![Nodejs](https://skillicons.dev/icons?i=nodejs)](https://skillicons.dev) [![Express](https://skillicons.dev/icons?i=express)](https://skillicons.dev) [![MongoDB](https://skillicons.dev/icons?i=mongo)](https://skillicons.dev)\n\n\n## Requirements\n\nFor development, you will only need Node.js and a node global package, Yarn, installed in your environement.\n\n### Node\n\n  Just go on [official Node.js website](https://nodejs.org/) and download the installer.\nAlso, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).\n\n### Yarn installation\n  After installing node, this project will need yarn too, so just run the following command.\n\n      $ npm install -g yarn\n\n---\n\n## Install\n\n    $ git clone https://github.com/YOUR_USERNAME/PROJECT_TITLE\n    $ cd PROJECT_TITLE\n    $ yarn install\n \n \n## Create a .env file in the root directory and add the following environment variables\n\n    PORT\n    MONGOS_CONNECTION_LINK\n \n## Running the project\n\n    $ yarn start\n\n## Simple build for production\n\n    $ yarn build\n    \n    \n---\n\n\n## End points\n\n### Product\n\n|  Method | Endpoint | Description |\n|:-:|:-:|:-:|\n| GET | / | get all products |\n| GET | /:id | get a specific product |\n| POST | / | add new product |\n| DELETE | /:id | delete product |\n| PUT | /:id | update product |\n\n\n### User\n\n|  Method | Endpoint | Description |\n|:-:|:-:|:-:|\n| GET | / | get all users |\n| GET | /:id | get a specific user |\n| POST | /register | create new user |\n| POST | /login | authenticate user |\n| DELETE | /:id | delete user |\n| PUT | /:id | update user |\n| PUT | /change-password/:id | change password |\n\n---\n\n\n## Collections\n\n### User\n```javascript\n    name: String,\n    email: String,\n    password: String\n```    \n\n### Product\n```javascript\n    name:String,\n    description: String,\n    price: Number,\n    colors: Array,\n    sizes: Array\n``` \n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoureldin2303%2Fe-commerce-with-typescript-nodejs-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoureldin2303%2Fe-commerce-with-typescript-nodejs-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoureldin2303%2Fe-commerce-with-typescript-nodejs-express/lists"}