{"id":21246855,"url":"https://github.com/apfirebolt/express-recipe-api","last_synced_at":"2026-04-10T07:15:40.634Z","repository":{"id":114819561,"uuid":"531031387","full_name":"Apfirebolt/express-recipe-api","owner":"Apfirebolt","description":"An API for recipes with user authentication created using Express and MongoDB","archived":false,"fork":false,"pushed_at":"2025-02-21T19:50:27.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T20:32:35.416Z","etag":null,"topics":["express","javascript","mongodb","mongoose","nodejs","recipe-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Apfirebolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-31T10:17:41.000Z","updated_at":"2025-02-21T19:50:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbdbf82b-a737-4cf5-b408-3c98a1466940","html_url":"https://github.com/Apfirebolt/express-recipe-api","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/Apfirebolt%2Fexpress-recipe-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fexpress-recipe-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fexpress-recipe-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2Fexpress-recipe-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apfirebolt","download_url":"https://codeload.github.com/Apfirebolt/express-recipe-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685528,"owners_count":20330980,"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":["express","javascript","mongodb","mongoose","nodejs","recipe-api"],"created_at":"2024-11-21T02:08:18.295Z","updated_at":"2026-04-10T07:15:40.606Z","avatar_url":"https://github.com/Apfirebolt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recipe API in Express\r\n\r\n_👀 Create and share your recipes \r\n\r\n![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\r\n![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge\u0026logo=express\u0026logoColor=%2361DAFB)\r\n![MongoDB](https://img.shields.io/badge/MongoDB-%234ea94b.svg?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white)\r\n\r\n## Requirements 🏃\r\n\r\n- Node\r\n- MongoDB\r\n- MongoDB Compass (Optional, GUI for MongoDB databases)\r\n- Postman (Optional, for API testing)\r\n\r\n## Install  💥\r\n\r\n```\r\nnpm install\r\nnpm start\r\n```\r\n\r\nThe Express app is configured to run by default on port 5000 but can be easily changed by tweaking server.js file\r\n\r\n## Features\r\n\r\n- User authentication 📦\r\n- CRUD on recipes module.\r\n- Recipes can have multiple images 🍗\r\n- Recipes can have multiple steps 🚶\r\n- Recipes can have multiple ingredients 🔖\r\n\r\n## Database Structure\r\n\r\nUser table fields and data types are described in the table below.\r\n\r\n| id  | username | email  | password |\r\n|-----|----------|--------|----------|\r\n| int | string   | string | string   |\r\n\r\nRecipe table structure\r\n\r\n| id  | title  | recipe |\r\n|-----|--------|--------|\r\n| int | string | string     |\r\n\r\nIngredients Table\r\n\r\n| id  | name   | quantity | recipe |\r\n|-----|--------|----------|--------|\r\n| int | string | int      | string    |\r\n\r\nRecipe column links ingredients with recipes.\r\n\r\n| id  | title  | ingredient | recipe | name   |\r\n|-----|--------|------------|--------|--------|\r\n| int | string | string     | string | string |\r\n\r\nThe above table is for pictures table. It can be linked to either an 'ingredient' or a 'recipe', hence both these foreign key references are optional. Name is used to store the name of the final after it is generated by multer helper functions.\r\n\r\nDatabase column structure for 'Steps'\r\n\r\n| id  | description | recipe |\r\n|-----|-------------|--------|\r\n| int | string      | string |\r\n\r\n## API Docs\r\n\r\nDetailed documentation for this API is not available yet, but below you can find some sample end points from the server.js file.\r\n\r\n```\r\napp.use('/api/users', userRoutes)\r\napp.use('/api/recipes', recipeRoutes)\r\napp.use('/api/steps', stepRoutes)\r\napp.use('/api/ingredients', ingredientRoutes)\r\napp.use('/api/pictures', pictureRoutes)\r\n\r\n```\r\n\r\n## Deployment\r\n\r\nPlanned to be deployed on Azure using Docker containers.\r\n\r\n## Development\r\n\r\n_Easily set up a local development environment!_\r\n\r\n- clone\r\n- `npm install`\r\n- `npm start`\r\n\r\n**Start coding!** 🎉\r\n\r\nClone this repo on your machine, navigate to its location in the terminal and run:\r\n\r\n## Contributing\r\n\r\nAll contributions are welcome!  \r\nPlease take a moment to review guidelines [PR](.github/pull_request_template.md) | [Issues](https://github.com/Apfirebolt/express-recipe-api/issues/new/choose)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Fexpress-recipe-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapfirebolt%2Fexpress-recipe-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Fexpress-recipe-api/lists"}