{"id":21288910,"url":"https://github.com/suyious/xetra-backend","last_synced_at":"2026-04-13T20:32:02.974Z","repository":{"id":133040343,"uuid":"496547630","full_name":"Suyious/xetra-backend","owner":"Suyious","description":"Nodejs backend for e-commerce concept","archived":false,"fork":false,"pushed_at":"2023-01-12T20:22:32.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T13:30:30.905Z","etag":null,"topics":["backend","express","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"https://xetra.onrender.com/api/v1","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/Suyious.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":"2022-05-26T08:53:55.000Z","updated_at":"2023-01-12T20:36:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"24ff5610-ab29-4f0d-84db-eced409b2704","html_url":"https://github.com/Suyious/xetra-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Suyious/xetra-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suyious%2Fxetra-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suyious%2Fxetra-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suyious%2Fxetra-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suyious%2Fxetra-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suyious","download_url":"https://codeload.github.com/Suyious/xetra-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suyious%2Fxetra-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"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":["backend","express","nodejs","rest-api"],"created_at":"2024-11-21T12:31:29.663Z","updated_at":"2026-04-13T20:32:02.954Z","avatar_url":"https://github.com/Suyious.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xetra\n### Backend written in Nodejs with express \u003cimg height=\"15\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/express/express-original.svg\" /\u003e and mongodb \u003cimg height=\"15\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mongodb/mongodb-original.svg\" /\u003e\n---\n\nxetra is a e-commerce concept, a fully CRUD-capable backend using an `express` \u003cimg height=\"15\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/express/express-original.svg\" /\u003e server in a `nodejs` \u003cimg height=\"15\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg\" /\u003e environment. It makes use of `MongoDB` \u003cimg height=\"15\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mongodb/mongodb-original.svg\" /\u003e Atlas as its database hosting.\n\n---\n### Rest Api\nThe Rest Api is deployed on heroku and can be accessed [here](https://xetra.herokuapp.com/api/v1/)  \nThe Available Routes in the REST Api are listed below. Detailed implementation of the routes are in the source [here](./routes)\n\n**Product Routes:**\nRoute | Request| Function| Authentication |\n|-|:-|:-|-:|\n`/products`| GET |View all products with details | not required\n`/admin/product/new`| POST | create new product | required\n`/admin/product/:id`| PUT | update product | required\n`/admin/product/:id`| DELETE | delete product | required\n`/product/:id`| GET | get details about single product | not rewuired\n`/review/:id`| PUT | Add a new review | required\n`/review/:id`| GET | get details for specific review | not required\n`/review/:id`| delete | delete specific review | required\n\n**User Routes:**\nRoute | Request| Function| Authentication |\n|-|:-|:-|-:|\n`/register`| POST | New User Sign Up | not required\n`/login`| POST | User Sign In | not required\n`/password/forgot`| POST |Forgot Password | not required\n`/password/reset/:token`| PUT | Reset Password | not required\n`/logout`| GET | Logout User | required\n`/me`| GET | Signed In User Details | required\n`/password/update`| PUT | Update Password | required\n`/me/update`| PUT | Change Signed in user details | required\n`/admin/users`| GET | Get All users | admin needed\n`/admin/user/:id` | GET | Get single user detail | admin needed\n`/admin/user/:id` | PUT | Update single user detail | admin needed\n\n**Order Routes:**\nRoute | Request| Function| Authentication |\n|-|:-|:-|-:|\n`/order/new`| POST | Create New Order | required\n`/order/:id`| GET | Get Single Order detail | required\n`/orders/me`| GET | Get All Orders of Logged in User | required\n`/admin/order/`| GET | Get All Orders | admin required\n`/admin/order/:id`| PUT | update single order | admin required\n`/admin/order/:id`| DELETE | delete single order | admin required\n\n**Collection Routes:**\nRoute | Request| Function| Authentication |\n|-|:-|:-|-:|\n`/collection/new`| POST | Create New Collection | admin required\n`/collections` | GET | Get all collections details| not required\n`/collection/:id`| GET | Get single collection details| not required\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyious%2Fxetra-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuyious%2Fxetra-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyious%2Fxetra-backend/lists"}