- Basic Understanding of Node and JavaScript.
- Node and NPM installed.
- Clone the repo.
- Run
npm install
- Run
node server.js
- Server will be running at
locahost:5000
A config.json
file must be created before the starting the server. A sample config.json
is shown below:
{
"dbURI": "localhost:27017",
"database": "amd-r",
"port": 5000
}
Note: a new config entry called "jwtSecret" will be generated in the first run of the program. This is a secret used for hasing the passwords. Do not generate your own unless you know what you are doing as the secret should be cryptographically secure.
- Organize server requests (Moving API into it's own folder)
- Make AMD-R verification using RSA signing
- Write jsdocs
- Add feature to disable registration for AMD-R/users
- User Authentication without JS
- /api/amd-r/getData using get
- MFA for users
- Add new "staff" role