GithubHelp home page GithubHelp logo

oscarcosta / csc462boatsql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ragav-kumar/csc462boatsql

0.0 2.0 0.0 1.05 MB

Shell 71.51% Dockerfile 4.43% JavaScript 2.84% Go 13.61% Python 7.61%

csc462boatsql's Introduction

csc462: Distributed Systems Project

Boat Data Store: SQL variant

Contents:

  • boats.sql (for now). To provide a sense of how the final schema will probably end up looking like.

  • /swarm - Contains the front end cluster configs, scripts and documentation

  • /web: (Under construction) web-based front end for testing and demonstration. Includes Express middleman server to route AJAX requests from client to either mongoDB (not included) or mySQL

  • /mysql - Contains mysql cluster config files

  • /mysql-docker - Contains mysql cluster config files using docker (deprecated)

Upcoming:

  • Distributed implementation of SQL database
  • Other components as appropriate

Running the front end page

  • In web/, run npm install
  • Navigate to web/client/, run npm install again.
  • Create a file, .env, and set its contents as follows:
    • PORT=3001
  • Head up one level to web/
  • Run npm start & (cd client && npm start)

Integrating the submodule

I've converted the web folder into a submodule. To update it, do the following:

  • Navigate to the main folder of the repo.
  • git pull, should delete the contents of the web/ folder.
    • If web/ folder is not empty, then run rm -rf web/*
  • git submodule update --init --recursive
  • In the future, to update your submodules, you can either git pull from the submodule folder (web/ in this case), or just run git pull && git submodule update --recursive from the main folder.

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.