Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yeukfei02/todolistapi

todolistApi
https://github.com/yeukfei02/todolistapi

docker java postgres spring todolist

Last synced: 5 days ago
JSON representation

todolistApi

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)