{"id":26361655,"url":"https://github.com/prashuk/serverless-express-food-menu","last_synced_at":"2025-03-16T17:39:42.657Z","repository":{"id":46064065,"uuid":"194722064","full_name":"prashuk/Serverless-Express-Food-Menu","owner":"prashuk","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-22T11:36:57.000Z","size":846,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-04T13:28:29.097Z","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/prashuk.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}},"created_at":"2019-07-01T18:14:30.000Z","updated_at":"2020-10-26T19:57:23.000Z","dependencies_parsed_at":"2023-01-30T07:45:45.815Z","dependency_job_id":null,"html_url":"https://github.com/prashuk/Serverless-Express-Food-Menu","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashuk%2FServerless-Express-Food-Menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashuk%2FServerless-Express-Food-Menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashuk%2FServerless-Express-Food-Menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashuk%2FServerless-Express-Food-Menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashuk","download_url":"https://codeload.github.com/prashuk/Serverless-Express-Food-Menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243909467,"owners_count":20367534,"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":"2025-03-16T17:39:42.055Z","updated_at":"2025-03-16T17:39:42.649Z","avatar_url":"https://github.com/prashuk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# food_menu-backend\n\n## Introduction\n\nThis project is the backend of Food Menu Search, a Serverless Express Application.\n\n## Setup -  Serverless online\n\nMake sure to follow all these steps exactly as explained below.\n\n### Install the Dependencies\n\nInstall the express framework, as well as the serverless-http.\n\n    sudo npm install --save express serverless-http\n    sudo npm install --save aws-sdk body-parser\n\n### Deployment\n\n    export BASE_DOMAIN=https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev\n    sls deploy\n    \nThis will launch the server.\nOpen up your browser and head over to:\n\n    https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev\n\nYou should see the \"Hello World!\". That confirms that you have set up everything successfully.\n\n## Setup - Serverless offline\n\n### Install serverless-offline plugin\n\n    sudo npm install --save-dev serverless-offline\n    \n### Install DynamoDB local\n\n    sls dynamodb install\n\n### Deployment\n\n    sls offline start\n    \nThis will launch the server.\nOpen up your browser and head over to:\n\n    https://localhost:3000/\n\nYou should see the \"Hello World!\". That confirms that you have set up everything successfully.\n\n### Create user and test\nOpen another terminal window and hit\n\n    curl -H \"Content-Type: application/json\" -X POST ${BASE_DOMAIN}/users -d '{\"userId\": \"alexdebrie1\", \"name\": \"Alex DeBrie\"}'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashuk%2Fserverless-express-food-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashuk%2Fserverless-express-food-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashuk%2Fserverless-express-food-menu/lists"}