{"id":25074917,"url":"https://github.com/devafortun/e-commerce-with-typescript-nodejs-express","last_synced_at":"2026-02-16T17:35:50.847Z","repository":{"id":274951014,"uuid":"908329657","full_name":"devafortun/e-commerce-with-TypeScript-Nodejs-Express","owner":"devafortun","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-25T18:56:58.000Z","size":241,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T20:55:34.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devafortun.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":"2024-12-25T18:53:25.000Z","updated_at":"2025-01-30T21:52:25.000Z","dependencies_parsed_at":"2025-01-30T10:43:26.794Z","dependency_job_id":null,"html_url":"https://github.com/devafortun/e-commerce-with-TypeScript-Nodejs-Express","commit_stats":null,"previous_names":["devafortun/e-commerce-with-typescript-nodejs-express"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devafortun/e-commerce-with-TypeScript-Nodejs-Express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2Fe-commerce-with-TypeScript-Nodejs-Express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2Fe-commerce-with-TypeScript-Nodejs-Express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2Fe-commerce-with-TypeScript-Nodejs-Express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2Fe-commerce-with-TypeScript-Nodejs-Express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devafortun","download_url":"https://codeload.github.com/devafortun/e-commerce-with-TypeScript-Nodejs-Express/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devafortun%2Fe-commerce-with-TypeScript-Nodejs-Express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29514008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"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":[],"created_at":"2025-02-07T00:19:37.676Z","updated_at":"2026-02-16T17:35:50.826Z","avatar_url":"https://github.com/devafortun.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%2Fdevafortun%2Fe-commerce-with-typescript-nodejs-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevafortun%2Fe-commerce-with-typescript-nodejs-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevafortun%2Fe-commerce-with-typescript-nodejs-express/lists"}