This is a sleep diary app that lets you track your sleep but also correlates it with other factors in your life. Seeing how your sleep is affected by things like caffeine, alcohol, sleeping conditions, etc., can help you make better decisions about your sleep habits.
- Do the Quickstart below to get the app running locally.
- From there, the wiki has all the developer documentation.
- Finally, see the project page for build information like test reports, code coverage, and more.
Software that needs to be installed and available from the command line:
- Java 23 (tested on Zulu distribution)
- Node 20 (tested on Node 20.6.1)
- Docker (Try
sudo apt install docker.ioon Linux or Docker Desktop or brew on Mac)
- From the project folder, start the back end with
gradlew server:bootTestRun - From the react folder, start the front end with
npm startwhich will serve the front end files and open a browser for you. log in with usernameadmin@example.comand passwordadminortest@example.comandtest
- If this is the very first time running, we need a keystore file to exist.
Use this command:
keytool -genkeypair -alias mykey -keyalg RSA -keysize 2048 -validity 365 -keystore ~/.keystore(this is for local development only) - If you ran gradle before setting the PATH, the daemon will have an old path and might not pick up npm, for example.
To restart the daemon, use
gradlew --stop