Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
playground
server
.DS_Store
.gitignore
package-lock.json
package.json
readme.md

readme.md

Documentation for API can be found over here

installing modules

npm i

note: for development make sure mongo db is locally installed. You may need to configure or create server/config/config.json file to have your own JSON WEB TOKEN SECRET, for ease I'm shipping it with code now. BUt it may be removed in near future.

for testing

note: for now if you run testing code, it currently wipes out todos local database, add new dummy entries

npm run test-watch

note:

remove toHexString on generateAuthToken

replace "user.tokens.push({access, token});"

with

user.tokens = user.tokens.concat([{access, token}]);

in generateAuthToken

getting started

node server/server.js

You can’t perform that action at this time.