Git Product home page Git Product logo

easyparking's Introduction

Welcome to easyparking

Open-source application for finding parking spots in the city.

Finding the best parking spot in the city has never been this easy!

Motivation

We were tired of driving around the city to find good parking.
This app was designed to help drivers and the city update parking spot availability in real time.

Features

  • Create User Accounts
  • Login users -- Update Profile
  • Find Available Parking

Screenshots

Include logo/demo screenshot etc.

Built With

  • React & React Hooks Used React w/ Hooks bc...
  • Bootstrap We used Bootstrap to build a fast CSS framework. It contains CSS and JavaScript-based design templates for the needs in our app.
  • Webpack Given the complexity of our front-end and back-end, we used Webpack to bundle our JavaScript files for usage in a browser
  • Node & Express Used Node & Express to route different async requests to render html page, input/update user info & parking spot info in the database.
  • PostgreSQL & ElephantSQL Hosted our relational database in ElephantSQL because the entities in our DB have predefined relationships and can be organized as a set of tables and columns. ER Diagram

Installation

To Run Your Easy Parking Project

  • Fork this repo
  • Clone to local repo
  • Install dependencies
npm install
  • Build the app
npm run build
  • Start an instance of server/ Run Express
npm start 
  • Start an instance of Client Server
npm run dev 
  • Open browser and navigate to localhost at specified port

SQL

DB Script

CREATE TABLE "Users" ( "id" serial NOT NULL, "first_name" VARCHAR(255) NOT NULL, "last_name" VARCHAR(255) NOT NULL, "email" VARCHAR(255) NOT NULL, "password" VARCHAR(255) NOT NULL, "id_role" integer NOT NULL, CONSTRAINT "Users_pk" PRIMARY KEY ("id") ) WITH ( OIDS=FALSE );

CREATE TABLE "Roles" ( "id" serial NOT NULL, "name" serial(255) NOT NULL, "description" serial(255) NOT NULL, CONSTRAINT "Roles_pk" PRIMARY KEY ("id") ) WITH ( OIDS=FALSE );

CREATE TABLE "ParkingSpace" ( "id" serial NOT NULL, "status" VARCHAR(255) NOT NULL, "id_user" integer, "expired_time" DATETIME NOT NULL, "locationid" integer NOT NULL, CONSTRAINT "ParkingSpace_pk" PRIMARY KEY ("id") ) WITH ( OIDS=FALSE );

CREATE TABLE "Locations" ( "id" integer NOT NULL ) WITH ( OIDS=FALSE );

ALTER TABLE "Users" ADD CONSTRAINT "Users_fk0" FOREIGN KEY ("id_role") REFERENCES "Roles"("id");

ALTER TABLE "ParkingSpace" ADD CONSTRAINT "ParkingSpace_fk0" FOREIGN KEY ("id_user") REFERENCES "Users"("id");


Authors Version 0.1.0: Nachiket Pingle @Nachiket Pingle Jono Calvo @Jono Calvo Mo Hmaidi @Mo Hmaidi Dylan Bury @Dylan Bury

easyparking's People

Contributors

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