Git Product home page Git Product logo

legacy's Introduction

Rdr

A simple, streamlined application for keeping track of the books you have read and the books you want to read.

Team

  • Product Owner: Ben Baum
  • Scrum Master: Michelle Thorsell
  • Development Team Members: Jordan Murphy, Josh Reisenbach

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Tasks
  4. Team
  5. Contributing

Usage

Fork and clone this repo. From the mysql command line:

mysql> create database booklist;
mysql> use booklist;

Requirements

  • Node >= 0.10.41 (tested only on 0.10.41, 0.12.7, and 5.5.0)
  • MySQL 5.5.x (higher versions known to be incompatible)
  • If you are running MySQL > 5.5.x, we recommend using homebrew to uninstall your current version and install the correct one. Run brew uninstall mysql, and then brew install homebrew/versions/mysql55. If the mysql command no longer works from the command line, you may have to reference your new version via /usr/local/opt/mysql55/bin/mysql (and you can create an alias for that path).

Development

Installing Dependencies

From within the root directory:

sudo npm install -g bower
sudo npm install -g grunt-cli

npm install 
// runs bower install for you

grunt watch:dev 
// continuous compilation, concatenation, and minification of files

npm start 
// uses nodemon

The server runs on port 8080 by default.

In production:

node server/server.js 

Booting up the server for the first time will create the db schema.

Amazon Web Services

Create an AWS account. In the AWS console, click on your name on the top right of the screen and select Security Credentials from the dropdown. Select Access Keys and note your Access Key ID and Secret Key.

Amazon Associates

Sign up for the Amazon Associates Program. Note your Tracking ID.

Auth0

Create an Auth0 account, and specify Amazon as an authentication method. Note your Client ID, Client Secret, and domain.

Make sure your allowed callback URLs are set up appropriately (include at least http://localhost:8080/ and http://127.0.0.1:8080/).

IMPORTANT: Auth0 credentials must be specified as environment variables (described below), but also in app.routes.js, specifically in the .config(['authProvider... block.

Environment Variables

Development: Create a .env file in the root directory that you do not commit to version control. Example files can be found on the node-env-file npm page.

The variables you need to define are:

  • DB_USER (mysql username)
  • DB_PASSWORD ('' if none)
  • AWS_ACCESS_KEY_ID (AWS access key)
  • AWS_SECRET_KEY (AWS secret key)
  • AWS_ASSOCIATES_ID (amazon associates tracking ID)
  • AUTH_ID (auth0 client ID)
  • AUTH_SECRET (auth0 secret)

Production: Set these environment variables via your deployment solution (e.g. Heroku).

Roadmap

View the project roadmap here

Contributing

See _CONTRIBUTING.md for contribution guidelines.

legacy's People

Contributors

bent0b0x avatar jedijashwa avatar mthorsell avatar jordmur avatar jyoon006 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.