Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeukfei02/todolistapi
todolistApi
https://github.com/yeukfei02/todolistapi
docker java postgres spring todolist
Last synced: 5 days ago
JSON representation
todolistApi
- Host: GitHub
- URL: https://github.com/yeukfei02/todolistapi
- Owner: yeukfei02
- License: mit
- Created: 2020-05-04T13:54:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:40:45.000Z (11 months ago)
- Last Synced: 2024-05-09T16:13:55.531Z (6 months ago)
- Topics: docker, java, postgres, spring, todolist
- Language: Java
- Homepage:
- Size: 131 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# todolistApi
todolistApi
documentation:
## Requirement
- install java (v11+)
## Testing and run
```zsh
// show gradle all tasks
$ ./gradlew tasks --all// build jar
$ ./gradlew build// run jar
$ java -jar build/libs/todolistApi-1.0.0.jar// start project
- run MainApplication.java// db migrate info
$ ./gradlew flywayInfo// db migrate
$ ./gradlew flywayMigrate// run test case
$ ./gradlew test
```open project in intellij idea
open localhost:8080
## Docker
```zsh
// build images and start container in one line
docker-compose up -d --build// go inside container
docker exec -it /bin/bash// check container logs
docker logs// remove and stop container
docker-compose down
```open localhost:8080
## Contributing
Please refer to [CONTRIBUTING.md](https://github.com/yeukfei02/todolistApi/blob/master/CONTRIBUTING.md)