Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.18 KB

ticket_booking_api

Prerequisite..

  • Python-3
  • Django(Backend Framework)
  • Django Restframework(Rest Framework)
  • Pytest(Testing Framework)

Database

  • Sqlite

Basic SetUp

  1. Install VirtualEnvironment setup : pip install virtualenvwrapper-win
  2. Create VirtualEnvironment and activating: mkvirtualenv project
  3. Create new folder : mkdir pro
  4. clone the repo inside folder(pro): git clone https://github.com/ayushkr07/ticket_booking_api.git
  5. Get into blogging_app folder: cd rest
  6. Install all the dependencies: pip install -r requirements.txt
  7. Run the project: python manage.py runserver

Output

An endpoint to view all the tickets.

An endpoint to book a ticket using a user’s name, phone number, and timings.

An endpoint to update a ticket timing.

An endpoint to view all the tickets for a particular time.

An endpoint to delete a particular ticket.

An endpoint to view the user’s details based on the ticket id.

Auto Expire ticket code.