Node.js REST API for the flashcard based learning platform: FlashcardX
Unix based system(Linux or OSX)
NODE v7+
MongoDB V3
REDIS V4
- clone the project and standing on the /api directory run:
sudo npm install
- create a folder called: "flashcardx-keys" in your $HOME directory (run
$HOME
in the console to know where it is pointing to) - inside the "flashcardx-keys folder" you gotta drop the keys for the cloud services, write us to: "contact@flashcardx.co" and we will send you those keys
- start the databases: mongo with
sudo mongod
and redis withredis-server
- Create the user for mongodb with the commands:
-
a) Open the mongo console by running:
mongo
b) Rundb.createUser({user:"pablo", pwd:"1234", roles:[{role:"root", db:"admin"}]})
- in /api dir run the project with
node app.js
We'd greatly appreciate any contribution you make :). Please check out our milestones here we have all the future goals for the project, you can pick any issue that's not taken by somebody and assign it to yourself, or if you have new ideas create a new issue in the nice to have milestone For contributing create a branch with the name of the feature you are working on(please follow the current code style of the project and make tests(in the /tests folder) for everything before pushing it), then when you are ready make a pull request to master.
Send us an email(contact@flashcardx.co) requesting an invitation for our Slack group Here we discuss new ideas about the future of the platform!
https://api.flashcardx.co/apidoc
This project is licensed under the terms of the MIT license. With the exception of the trademark and logos(flashcardx) wich are property of Pablo Nicolas Marino