Minimalistic todo API with MongoDB data storage
Docker images available at: https://hub.docker.com/repository/docker/bartfastiel/todo
See it in action at: https://bartfastiel-todo.azurewebsites.net
Prerequisites: Maven
mvn clean package
Prerequisites: Java JDK 17
, MongoDB
java -Dserver.port=<port> \
-Dspring.data.mongodb.uri=<mongodb uri> \
-Dspring.data.mongodb.database=<database name> \
-jar app.jar
Replace <port>
with the local port that the app will be listening to.
Replace spring.data.mongodb.uri
with a mongo db url (i.e. in the
format mongodb+srv://<user>:<pwd>@<mongoserver>/<database>
)
Replace spring.data.mongodb.database
with a database name, i.e. todo