Giter VIP home page Giter VIP logo

parking-management-system's Introduction

Parking Lot System

The Parking Lot System is a web application that allows the gateman to manage and track entries in a parking lot. It provides functionality to add new entries, view existing entries, and delete entries from the system.

Table of contents

Features

  • Add new entries to the parking lot system by providing owner details, vehicle model, number plate, entry date, and exit date.
  • View a list of all entries in the parking lot system, including owner information, vehicle details, and entry/exit dates.
  • Delete entries from the parking lot system, removing them from the list.

Technologies Used

  • HTML/CSS: Front-end structure and styling.
  • JavaScript: Programming language for client-side logic and interaction.
  • Bootstrap: CSS framework for responsive design and pre-styled components.

๐Ÿš€ Getting Started

To run the Parking Lot System locally on your machine, follow these steps:

GIT

To get the repo locally you need to clone this repo. Ensure you have Git installed onto your local machine.

To check if git is already installed, run this command in your terminal:

git --version

Using https

git clone https://github.com/Se7enseads/Parking-Management-System.git

Using SSH

To use ssh your first need to fork this repo onto your github account then use the ssh provided under the code button.

SSH IMAGE

[email protected]:[Your-username]/[repo]

For more information about git you can checkout the git Documentation.

JSON Server

To run this challenge you will need a Mock API (Application Programming Interface) or Mock server to create an APi to fetch data from, in our case Characters.

To start using JSON Server, we need to install it.

  1. First check if NPM(Node Package Manager) is already installed:
npm -v

Make sure that the number displayed is greater than 9 or better is the latest. If so continue to step 3

Note: To download the latest version of , on the command line, run the following command:

npm install -g npm
  1. To install npm it is recommended to install via NVM or through the official Documents

  2. We'll install JSON Server globally on your machine via NPM.

npm install -g json-server

With the command above, you should now be able to spin up a mock server from any directory on your computer.

  1. To actually start the JSON Server, run the following command from the same directory that the [name].json file is in. In our case the [name].json is db.json:
json-server --watch db.json

When run, you'll see some messaging about how to access our JSON data. By default, JSON Server will start up on port 3000. You should see a notice that you can access the server at http://localhost:3000

Terminal

For more information about JSON Server checkout their homepage.

Usage

  • Upon opening the application, you will see a form where you can enter the owner details, vehicle model, number plate, entry date, and exit date.
  • Fill in all the required fields and click the "Add Entry" button to add a new entry to the parking lot system.
  • The newly added entry will appear in the table below the form.
  • To delete an entry, click the "Delete" button next to the corresponding entry in the table.

๐Ÿ“ License

Copyright ยฉ 2023 Kyle Mututo.
This project is MIT licensed.

parking-management-system's People

Contributors

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