Skip to content

exquisite-gingko/gingko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tablesurfer

Team

Tech Overview

Simplified overview of project's tech stack:

  • Task Runner
    • Grunt
  • Client Side
    • Angular
    • Angular Material
  • 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
  --- routes
  --- server-spec
  --- 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •