This system is trading simulation platform where users can trade BTC and view their transaction history.
This project uses Spring Boot with PostgresSQL and MongoDB.
If you want to learn more about SpringBoot, please visit its website: https://spring.io/projects/spring-boot .
The application can be packaged using:
./mvnw packageIn local mode:
./mvnw compile spring-boot:runIn dev mode:
./mvnw compile spring-boot:run -Dspring-boot.run.profiles=devIn prod mode:
./mvnw compile spring-boot:run -Dspring-boot.run.profiles=prodBuild docker image:
docker-compose build --no-cacheStart your docker container:
docker-compose up -dRebuild docker image without downtime:
docker-compose up -d --no-deps --buildDisplay system log in docker container:
docker-compose logs -f --tail 100Stop your docker container
docker-compose downYou can click swagger url when your application is running: http://localhost:8080/swagger-ui/index.html
User
| key | Type |
|---|---|
| id | string |
| name | string |
| string | |
| address | string |
| createdAt | date |
Relationship
| key | Type |
|---|---|
| id | string |
| userId | string |
| price | decimal |
| amount | decimal |
| currency | string |
| type | string |
| createdAt | date |
