Giter Site home page Giter Site logo

kingtut10101 / transportationeventsproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 12.86 MB

A full-stack solution that allows users to browse a series of events.

License: GNU General Public License v3.0

HTML 3.86% CSS 1.19% JavaScript 91.65% Python 3.30%

transportationeventsproject's Introduction

Transportation Events Project

The final project for Database Theory and Design. It provides an easy way for users to view a set of events data for a transportation system.

image image

Installation

Make sure NPM is installed

Run “git clone https://github.com/KINGTUT10101/TransportationEventsProject.git”

Run “cd TransportationEventsProject”

Run “npm install”

Run “cd client”

Run "npm install" again

Run "cd ../server"

Run "npm install" once again

Creating the database

Download and install pgAdmin

Create a database named "transportProject" with the password set to "password"

Run the database creation script

Import the CSV files found in the database/raw_data folder

Download the events XML file from D2L and place it into the database/raw_data folder

Run "cd database/scripts/import_events_data"

Run "node --max-old-space-size=4096 transferToDB.js"

Wait for the script to finish. It may take a while

Running the project

Run “npm run dev” in the project's root directory

Connect to localhost:3000 in your browser

Running the frontend

Run “npm run client” in the project's root directory

Connect to localhost:3000 in your browser

Building the frontend

(It's recommended that you do this before running the backend. This will update the static frontend files that the backend will return to you)

Run "npm run build" in the project's root directory

Running the backend

Run “npm run server” in the project's root directory

Connect to localhost:5000 in your browser

transportationeventsproject's People

Contributors

kingtut10101 avatar oppo266 avatar hamerharstad avatar

Watchers

 avatar  avatar

Forkers

oppo266

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.