GithubHelp home page GithubHelp logo

car-parking's Introduction

Parking Management System

Overview

The Parking Management System is designed to facilitate efficient management of car parking spaces within private communities such as residential buildings. It provides a centralized platform for residents to reserve, occupy, and release parking spots.

Features

  • Booking a Parking Spot: Users can view available parking spots and reserve spots for specific times and durations.
  • Parking the Car: Upon arrival at the reserved spot, residents can update the spot's status to 'occupied' via the app.
  • Releasing the Spot: Users can mark a parking spot as free when they leave.
  • Community Management: Each parking spot is associated with a private community.

Community API Endpoints

  • Create Community (POST /communities): Creates a new community from the provided request body.
  • Get Community by ID (GET /communities/{id}): Retrieves detailed information about a specific community based on its ID.
  • Get All Communities (GET /communities): Lists all available communities.

Parking Spot API Endpoints

  • Create Parking Spot (POST /parking-spots): Registers a new parking spot linked to a specified community.
  • Get Available Spots (GET /parking-spots/available): Fetches a list of available parking spots, optionally filtered by community ID.
  • Reserve Parking Spot (POST /parking-spots/{id}/reserve): Reserves a specific parking spot based on a reservation request.
  • Park Car (PATCH /parking-spots/{id}/park): Updates the status of a parking spot to "occupied" when a car parks in the designated spot.
  • Book on the Spot (POST /parking-spots/book-on-the-spot): Allows for immediate booking and occupation of a parking spot without prior reservation.
  • Release Parking Spot (PATCH /parking-spots/{id}/release): Releases a previously occupied parking spot, making it available for new bookings.

car-parking's People

Contributors

suzykostumyan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.