This application is used for authentication services such as OAuth2 in order to unite our websites with a single login and as a centeral news outlet for Icy Network services.
## Setup
The first time you run the application, it will migrate the database and that may take a while.
### Development
Clone this repository and then
1.`npm install` to get all the packages
2.`cp config.example.toml config.toml` copy the configuration
3.`npm run watch` to run the style and front-end script building watch task
4.`npm start -- -d` to start the application in development mode
There is also a watch mode for the server. To enable `server` file tree watching you must provide both `-d` and `-w` as parameters. This task will reset all workers when any file in the `server` directory changes, enabling for live debugging.