Giter Club home page Giter Club logo

parking-lot's Introduction

Parking Lot

Introduction

This project is for personal training. Inspired by the parking lot project shared in thoughtworks.

Quick Start

use ./mvnw spring-boot:run to run this project.

Tech stack

  • Java
  • Springboot
  • Webflux
  • Vavr
  • Minikube
  • ArgoCD
  • Docker

Practice requirements

  • Pair
  • TDD
  • Refactoring
  • Simple Design
  • Design pattern

Requirements

Step 1

Parking lots enabling parking and picking up cars.

Step 2

A ParkingBoy

  • Can manage multiple parking lots.
  • Park the car to the first parking lot with available position(s).

Step 3

A SmartParkingBoy

  • Can manage multiple parking lots.
  • Park the car to the parking lot with most available position(s).

Step 4

A SuperParkingBoy

  • Can manage multiple parking lots.
  • Park the car to the parking lot with the highest unoccupied rate.

Step 5

A ParkingManager

  • Can manage multiple parking lots.
  • Can manage multiple parking boys.
  • Can ask their subordinates to park the car or park the car themselves.

Step 6

A ParkingDirector

  • Can manage multiple parking lots.
  • Can manage multiple parking boys and managers.
  • Can print out the managed valets and their assigned parking lots, and the parking lots directly managed.
  • The information of parking lots should contain their name, capacity, number of available positions and utilization rate.

Requirements Created By Siqi

Director's people administration

  • Can Create Any type of valets

Inconsistent inputs

  • Scanned handwriting, where information is presented in a flattened way
  • Digital input, where customer's concept has been created but others not
  • Smart input, where information is consistent with our system

Customized basicValet

  • Different valets have different strategies of parking. We want a basicValet who can handle all kinds of parking.

Progress

  • Functionalities:
    • parking boy
    • smart parking boy
    • super parking boy
    • parking manager
    • parking director
  • Deployment:
    • Docker image
    • Deploy to argoCD

How to run

At first, run json-server --watch parking-lot.json --port 3001 to launch the json server, then run the app. Try http://localhost:8080/parking-lot/1 to see if you can get the data.

parking-lot's People

Contributors

siqiran 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.