Git Product home page Git Product logo

gingko's Introduction

tablesurfer

Team

Tech Overview

Simplified overview of project's tech stack:

  • Task Runner
    • Grunt
  • Client Side
    • Angular
    • MaterializeCss
  • Server Side
    • Node
    • Express
    • Postgres
    • Sequelize

File Structure

.bowerrc is used to specify path for bower components; these client-side dependencies are located in client/lib

Simplified overview of project's file structure is laid out below:

client
  --- app
    // angular (views, services, etc)
  --- assets
    // client-side assets (ex: img)
  --- lib
    // bower components
  --- styles
    // stylesheets
  --- index.html

server
  --- config
    // auth / authKeys.js
    // db schema
    // middleware setup
    // passport setup for facebook auth
  --- controllers (message handling)
    // Auth
    // external api
    // Meals
    // Users
  --- lib (utility functions)
    // external api
    // Meals
    // Restaurant
    // Users
  --- routes
    // Api routes
    // Auth routes
  --- server-config.js
  --- server.js

Style

Using the Angular team approved style guide by John Papa. App was designed with modularity and code reuse in mind.

Angular Style Guide

General JavaScript code styling was following the industry-approved Airbnb method.

Airbnb Style Guide

Database

Important: Please follow the directions in order to setup the necessary local user and PostgreSQL database - proper local functionality and testing relies on this.

To setup your database locally:

  1. Install Postgres.app
  1. Install Postico [optional]
  1. Use psql, the Postgres CLI, to create needed database and authorized user
  2. From your terminal, enter psql and hit enter
  3. Now that psql is running, go ahead and create the user * CREATE USER admin WITH SUPERUSER; * ALTER USER admin WITH PASSWORD 'admin'; * SET ROLE admin; * CREATE DATABASE tablesurfer;
  4. Double check that your Postgres.app is running from your OSX toolbar, it should indicate that the port you are using is 5432
  5. You're successfully setup for Postgres to use tablesurfer!

gingko's People

Contributors

bjarkestaun avatar yilenpan avatar tlevin avatar tsaidavid avatar hackreactor-students avatar muddybarefeet avatar laurenmendoza avatar

Watchers

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