Git Product home page Git Product logo

cvrcle.io-1's Introduction

cvrcle.io

C-V-R-C-L-E --> Make your circles come full circle.

Getting Started

  1. npm install && npm install -g webpack webpack-dev-server && npm install -g knex

  2. knex migrate:latest sets up all your tables and relations

    ** If the migration complains, go create an empty schema in MySQL that corresponds to the name of the schema you've decided to set as the 'MYSQL_DEV_DB' variable in .env and try again

  3. knex seed:run automatically seeds your database with relevant data to get up and running/testing.

  4. Check in 'migrations' to see the way the foreign key relations and cascading deletions work in the database.

    • When you delete a user, all their itineraries and engtries automatically delete
    • When you delete an itinerary, all entries belonging to that itinerary are deleted
    • This relational model is all 1 to many/many to 1. There are no many to many relationships
    • This is called a "bottom-up" relational model

3 Open up two terminals

  1. In terminal one: npm start

  2. In terminal two: npm run dev

That should be enough to get you up and running.

Tech used:

  • Node

  • Express & some middleware (see server.js)

  • Objection + Knex (ORM)

  • React

  • React Router

  • Redux

  • Thunks

  • Google Maps API

  • SemanticUI-React

  • React-BootStrap

  • JQuery because everyting fucking uses JQuery

  • WebPack / WebPack Dev Server w/ hot reload + WebPack Dashboard

cvrcle.io-1's People

Contributors

armenr avatar andrewjyi avatar reginavlee avatar ejmason avatar

Watchers

James Cloos avatar  avatar  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.