{"id":23056577,"url":"https://github.com/atul3007/flexiple_backend_asg","last_synced_at":"2026-04-06T09:32:35.208Z","repository":{"id":215392283,"uuid":"738015350","full_name":"Atul3007/flexiple_backend_asg","owner":"Atul3007","description":"This repository contains the backend server for a restaurant management application. The server is built using Node.js, Express, TypeScript, and PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-01-04T19:08:08.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T02:43:09.633Z","etag":null,"topics":["express-js","nodejs","postgresql","query"],"latest_commit_sha":null,"homepage":"https://turquoise-octopus-cape.cyclic.app/","language":"TypeScript","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/Atul3007.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":"2024-01-02T08:01:19.000Z","updated_at":"2024-01-04T18:58:40.000Z","dependencies_parsed_at":"2024-01-04T07:24:06.126Z","dependency_job_id":"22bc28f3-32b3-49bb-a34a-c7a644f8189c","html_url":"https://github.com/Atul3007/flexiple_backend_asg","commit_stats":null,"previous_names":["atul3007/flexiple_backend_asg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Atul3007/flexiple_backend_asg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atul3007%2Fflexiple_backend_asg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atul3007%2Fflexiple_backend_asg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atul3007%2Fflexiple_backend_asg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atul3007%2Fflexiple_backend_asg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atul3007","download_url":"https://codeload.github.com/Atul3007/flexiple_backend_asg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atul3007%2Fflexiple_backend_asg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"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":["express-js","nodejs","postgresql","query"],"created_at":"2024-12-16T01:24:25.604Z","updated_at":"2026-04-06T09:32:35.193Z","avatar_url":"https://github.com/Atul3007.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restaurant App Backend\n\nThis repository contains the backend server for a restaurant management application. The server is built using Node.js, Express, TypeScript, and PostgreSQL.\n\n## Getting Started\n\n### 1. **Clone the repository:**\n   git clone \u003crepository-url\u003e\n### 2 **Install Dependencies**\n   npm install\n### 3 **Run server**\n   ts-node server.ts\n## API Endpoints\n### Authentication\n\n### POST /admin/log-in\n Log in as an admin.\n\n### GET /get-user\nGet user details.\n\n### Admin\nPOST /reg-manager\n\n### Register a manager (Admin only).\nPOST /reg-staff/:uid\n\n### Register a staff member (Admin or Manager).\nPOST /login-user\n\n### Log in as a user.\nDELETE /delete-user/:id\n\n### Delete a user (Admin or Manager).\n\n### Menu\nGET /menu/get-menu\n\n## Get the menu.\n\nPOST /menu/add-menu/:u_id/\n### Add a menu item (Staff or Manager).\n\nPATCH /menu/edit-menu/:u_id/:menu_id\n### Edit a menu item (Staff or Manager).\n\nDELETE /menu/delete-menu/:u_id/:menu_id\n### Delete a menu item (Staff or Manager).\n\n## Restaurant\nGET /restaurant/get-restaurant\n### Get restaurant details.\n\nPOST /restaurant/add-restaurant\n### Add a new restaurant (Admin only).\n\nPATCH /restaurant/edit-restaurant/:id\n### Edit restaurant details (Admin only).\n\nDELETE /restaurant/delete-restaurant/:id\n### Delete a restaurant (Admin only).\n## Table\n\nGET /table/assign-table/:uid\n###Assign a table to a user (Staff or Manager).\n\nPOST /table/order/:uid\n###Process an order (Staff or Manager).\n\nPOST /table/payment/\n### Process a payment (Staff or Manager).   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatul3007%2Fflexiple_backend_asg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatul3007%2Fflexiple_backend_asg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatul3007%2Fflexiple_backend_asg/lists"}