{"id":25024017,"url":"https://github.com/anashany2193/mern-food-ordering-backend","last_synced_at":"2026-04-11T03:04:03.526Z","repository":{"id":259542183,"uuid":"876423917","full_name":"AnasHany2193/mern-food-ordering-backend","owner":"AnasHany2193","description":"The backend API for the MERN Food Ordering app handles restaurant listings, user profiles, authentication, and order management. Built with Express, it includes endpoints for searching, filtering, and updating orders. Integrated with Stripe for payments and Auth0 for secure user authentication.","archived":false,"fork":false,"pushed_at":"2024-10-31T01:41:52.000Z","size":15710,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T15:46:38.184Z","etag":null,"topics":["cloudinary","concurrently","cors","dotenv","express","jsonwebtoken","mongodb","mongoose","multer","nodemon","oauth2","stripe","typescript"],"latest_commit_sha":null,"homepage":"","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/AnasHany2193.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-10-22T00:13:51.000Z","updated_at":"2024-10-31T01:41:56.000Z","dependencies_parsed_at":"2024-10-26T11:02:52.083Z","dependency_job_id":"d9deb974-ccec-4c93-944b-b1286b998117","html_url":"https://github.com/AnasHany2193/mern-food-ordering-backend","commit_stats":null,"previous_names":["anashany2193/mern-food-ordering-backend"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-food-ordering-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-food-ordering-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-food-ordering-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnasHany2193%2Fmern-food-ordering-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnasHany2193","download_url":"https://codeload.github.com/AnasHany2193/mern-food-ordering-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326795,"owners_count":20759439,"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":["cloudinary","concurrently","cors","dotenv","express","jsonwebtoken","mongodb","mongoose","multer","nodemon","oauth2","stripe","typescript"],"created_at":"2025-02-05T15:38:43.701Z","updated_at":"2025-12-30T20:29:25.158Z","avatar_url":"https://github.com/AnasHany2193.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Food Ordering - Backend 🍔🍕🍜\n\nWelcome to the backend repository for the **MERN Food Ordering App**! This project handles API functionality, database management, and integrations for a full-featured food ordering platform.\n\n## Project Overview 🚀\n\nThe backend is built with **Node.js**, **Express**, **MongoDB**, and **Mongoose**. It manages restaurant listings, user profiles, order processing, payment via Stripe, and much more. This repository works in tandem with the frontend found [here](https://github.com/AnasHany2193/mern-food-ordering-frontend), which completes the user interface.\n\n### Key Features ✨\n\n- **User Authentication**: Auth0 for secure, managed authentication.\n- **Restaurant Management**: API endpoints for adding, updating, and managing restaurant data.\n- **Order Management**: Create, update, and track customer orders.\n- **Payment Integration**: Stripe for processing payments.\n- **Search and Filtering**: Allows searching by cuisine, rating, etc.\n\n## Setup Guide 🛠\n\n### Prerequisites\n\n- Node.js \u0026 npm\n- MongoDB\n- Auth0 account\n- Stripe account\n\n### Installation Steps\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/AnasHany2193/mern-food-ordering-backend.git\n   cd mern-food-ordering-backend\n   ```\n\n2. **Install dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n3. **Configure Environment Variables**:\n   Create a `.env` file at the root of the project with the following variables:\n\n   ```plaintext\n   PORT=5000\n\n   MONGODB_CONNECTION_STRING=\u003cYour MongoDB Connection String\u003e\n\n   AUTH0_AUDIENCE=\u003cYour Auth0 API Audience\u003e\n   AUTH0_ISSUER_BASE_URL=\u003cYour Auth0 Issuer URL\u003e\n   AUTH0_TOKEN_SIGNING_ALG=\u003cYour Auth0 Token Signing Algorithm\u003e\n\n   CLOUDINARY_API_KEY=\u003cYour Cloudinary API Key\u003e\n   CLOUDINARY_API_SECRET=\u003cYour Cloudinary API Secret\u003e\n   CLOUDINARY_CLOUD_NAME=\u003cYour Cloudinary Cloud Name\u003e\n\n   FRONTEND_URL=\u003cYour Frontend URL\u003e\n   STRIPE_API_KEY=\u003cYour Stripe API Key\u003e\n   STRIPE_WEBHOOK_SECRET=\u003cYour Stripe Webhook Secret\u003e\n   ```\n\n4. **Start the Development Server**:\n\n   ```bash\n   npm run dev\n   ```\n\n   The backend will be available at `http://localhost:7000`.\n\n## Frontend Setup 🌐\n\nTo complete the project, clone and set up the frontend as described [here](https://github.com/AnasHany2193/mern-food-ordering-frontend). Make sure the frontend `.env` file is configured to connect with this backend.\n\n## Project Video 📹\n\n![A demo video](src/assets/mern-food-ordering.mp4)\n\n## API Endpoints 📚\n\n- **Authentication**: `/api/auth`\n- **Restaurants**: `/api/restaurants`\n- **Orders**: `/api/orders`\n- **Payments**: `/api/payments`\n\n## Contributing 🤝\n\nFeel free to open issues, make pull requests, or suggest improvements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fmern-food-ordering-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanashany2193%2Fmern-food-ordering-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanashany2193%2Fmern-food-ordering-backend/lists"}