Restaurant API

The assignment is to implement a back-end which emulates a self service restaurant environment.

Tasks completed

  • Buillt a REST API using Django REST Framework.
  • Swagger implemented for API documentation
  • Containerized application using Docker.
  • Async API calls using Celery with RabbitMQ as a message broker.
  • API Endpoints for ordering food, collecting food, generating invoice, assigning tables to customers and returning foods.
  • Rest of working in WORKING.md

Built With

Prerequisites

Installation and Usage

  1. Clone this repository and change directory.
git clone https://github.com/Rugz007/RestaurantAPI.git
cd RestaurantAPI
  1. Run the following command to build all the containers
docker-compose build
  1. Run the following command to run all the containers
docker-compose up
  1. Visit django-admin at localhost:8000/admin/ for admin panel

Note

  • Admin user with username as admin and password as admin is created.
  • Used black as python formatter.