A set of notes, save it if you want.
Notes are persisted to a mongo database.
To run the server just run node src/server/index
or npm start
. The service starts by default listening to port
9874
and assumes that the URL used to access it is http://localhost:9874/
, to change these use additional
command line parameters:
node src/server/index -port 8080 -base "https://mynotesapp.com/"
Sessions are run through session-middleware to provide a salt for its
encryption either set the command line argument -salt
or run the process with an environment variable sessionKey
.
Authentication is only through gauth so users need to log in through Google.
The google email address is hashed before saving to the database, and notes are encrypted using the RC4 cipher.
Feel free to add things and send a pull request.
Released under the MIT license.