My implementation of the Todo-Backend specification with Redis as the data store and Scala as the web server (http4s) and test suite (MUnit)
Copyright © 2024 Rory Sharp All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with this program. If you have not received this, see http://www.gnu.org/licenses/gpl-3.0.html.
For a (non-legally binding) summary of the license see https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
- Install sbt using coursier
apt-get install redis
redis-cli CONFIG SET appendonly yes appendfsync everysec save ""
redis-cli CONFIG REWRITE
- To run tests:
sbt test
- To run server:
sbt run