{"id":24763273,"url":"https://github.com/xerx81/littlelemonapi","last_synced_at":"2026-04-27T12:33:02.082Z","repository":{"id":273316308,"uuid":"870647221","full_name":"Xerx81/LittleLemonAPI","owner":"Xerx81","description":"Backend API for LittleLemon web app made with DRF","archived":false,"fork":false,"pushed_at":"2025-01-24T08:30:59.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T14:34:49.714Z","etag":null,"topics":["backend","django","djoser","python3","rest-api","sql"],"latest_commit_sha":null,"homepage":"https://littlelemonapi.pythonanywhere.com/restaurant/menu/items/","language":"Python","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/Xerx81.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-10T12:20:48.000Z","updated_at":"2025-02-02T11:05:58.000Z","dependencies_parsed_at":"2025-03-23T14:31:08.259Z","dependency_job_id":"0948a340-b207-4437-9aff-7407f3dc5b83","html_url":"https://github.com/Xerx81/LittleLemonAPI","commit_stats":null,"previous_names":["xerx81/littlelemon","xerx81/littlelemonapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Xerx81/LittleLemonAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xerx81%2FLittleLemonAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xerx81%2FLittleLemonAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xerx81%2FLittleLemonAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xerx81%2FLittleLemonAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xerx81","download_url":"https://codeload.github.com/Xerx81/LittleLemonAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xerx81%2FLittleLemonAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32337269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","django","djoser","python3","rest-api","sql"],"created_at":"2025-01-28T20:26:31.692Z","updated_at":"2026-04-27T12:33:02.046Z","avatar_url":"https://github.com/Xerx81.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Little Lemon Backend (Django REST Framework)\n\nThis is the backend for the Little Lemon web application. It is built using Django and Django REST Framework (DRF) and provides RESTful APIs for managing menu items and table bookings.\n\n## Table of Contents\n\n- [Features](#features)\n- [Tech Stack](#tech-stack)\n- [Getting Started](#getting-started)\n- [API Endpoints](#api-endpoints)\n\n---\n\n## Features\n\n- Exposes APIs to:\n  - Fetch menu items.\n  - Manage bookings.\n- Token-based authentication using Djoser.\n- Cross-Origin Resource Sharing (CORS) support for frontend integration.\n- Fully customizable and extensible.\n\n---\n\n## Tech Stack\n\n- **Framework:** Django\n- **API Framework:** Django REST Framework\n- **Authentication:** Djoser\n- **Database:** SQLite\n- **CORS:** django-cors-headers\n\n---\n\n## Getting Started\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- Python 3.10+\n- pip\n- virtualenv (optional but recommended)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Xerx81/LittleLemonAPI.git\n   cd LittleLemonAPI\n   ```\n\n2. Create and activate a virtual environment:\n\n   ```bash\n   python -m venv .venv\n   source .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Apply migrations:\n\n   ```bash\n   python manage.py migrate\n   ```\n\n5. Start the development server:\n\n   ```bash\n   python manage.py runserver\n   ```\n\n6. Access the application at:\n\n   ```\n   http://127.0.0.1:8000\n   ```\n\n## API Endpoints\n\n- /restaurant/menu/items\n- /restaurant/menu/items/{id}\n- /restaurant/booking\n- /restaurant/booking/tables\n- /auth\n- /auth/users\n- /auth/token/login\n- /auth/token/logout\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerx81%2Flittlelemonapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxerx81%2Flittlelemonapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerx81%2Flittlelemonapi/lists"}