Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

steveukx/mydev.notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

A set of notes, save it if you want.

Requirements

Notes are persisted to a mongo database.

Running the server

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.

Limitations

Authentication is only through gauth so users need to log in through Google.

Privacy

The google email address is hashed before saving to the database, and notes are encrypted using the RC4 cipher.

Patches and Pull Requests

Feel free to add things and send a pull request.

Licence

Released under the MIT license.

About

Mongo backed node server for saving notes

Resources

License

Stars

Watchers

Forks

Packages

No packages published