Memowise is an awesome flash card app!
- Product Owner: David Doan
- Scrum Master: Cathy Lee
- Development Team Members: Ashwini Jogwar, Jen Wong
From within the root directory:
npm installThis builds the production version to
dist/.
Specify your environment variables for the appropriate scripts in package.json.
$ npm run build$ npm run server-prodOpen application to the host you specified in package.json.
- Node 0.10.x
- Redis 2.6.x
- Postgresql 9.1.x
- etc
- etc
From within the root directory:
npm installFrom within the root directory:
npm run import math.mdDeck file (math.md) MUST be within documentation/decks/ directory
npm run import:allImport all decks in document/decks/ directory, be careful, it still imports if deck already exists in database.
$ npm run buildBuilds the entire application to dist/. See package.json to set environment variables.
$ npm run server-prodStarts the server in production mode. See package.json to set environment variables.
$ npm run watch-server Builds and watches server files for changes. Builds to dev/.
$ npm run watch-clientBuilds and watches client files for changes. Builds to dev/.
$ npm run server-devStarts the server in development mode (runs from localhost:3000).
$ npm run testRuns unit tests and coverage report. Ensure
mongodand the application is built and the server is running.
$ npm run coverageOpens code coverage report in browser.
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.
View the project roadmap here
See CONTRIBUTING.md for contribution guidelines.