Skip to content

AgreeableZombie/Memowise

Repository files navigation

Memowise

Memowise is an awesome flash card app!

Team

  • Product Owner: David Doan
  • Scrum Master: Cathy Lee
  • Development Team Members: Ashwini Jogwar, Jen Wong

Table of Contents

  1. Getting Started
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Load Sample Data
    3. Tasks
  4. Team
  5. Contributing

Getting Started

Install Dependencies

From within the root directory:

npm install

Build

This builds the production version to dist/.

Specify your environment variables for the appropriate scripts in package.json.

$ npm run build

Run

$ npm run server-prod

Open application to the host you specified in package.json.

Requirements

  • Node 0.10.x
  • Redis 2.6.x
  • Postgresql 9.1.x
  • etc
  • etc

Development

Installing Dependencies

From within the root directory:

npm install

Load Sample Data

From within the root directory:

npm run import math.md

Deck file (math.md) MUST be within documentation/decks/ directory

npm run import:all

Import all decks in document/decks/ directory, be careful, it still imports if deck already exists in database.

Tasks

build

$ npm run build

Builds the entire application to dist/. See package.json to set environment variables.

server-prod

$ npm run server-prod

Starts the server in production mode. See package.json to set environment variables.

watch-server

$ npm run watch-server 

Builds and watches server files for changes. Builds to dev/.

watch-client

$ npm run watch-client

Builds and watches client files for changes. Builds to dev/.

run server (development)

$ npm run server-dev

Starts the server in development mode (runs from localhost:3000).

test

$ npm run test

Runs unit tests and coverage report. Ensure mongod and the application is built and the server is running.

coverage

$ npm run coverage

Opens code coverage report in browser.

Facebook Config File

Make sure this path exists: /src/server/config/authorizeFacebook.js
Below is how the authorizeFacebook.js file should look.

module.exports = {
  'facebookAuth' : {
      'clientID'      : 'your-secret-clientID-here', // your App ID
      'clientSecret'  : 'your-client-secret-here', // your App Secret
      'callbackURL'   : 'http://localhost:3000/auth/facebook/callback'
  },
}; 

Fill out the clientID, clientSecret, callbackURL in authorizeFacebook.js by going to Facebook Developer Portal and creating your own app.

Roadmap

Stories in Ready

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors