The idea is to create a dummy trading platform which can be used for learning stock marketing. Buy, sell, portfolio, funds and live stock prices are the key features. This service is aimed to be backend for the mobile app of "Apna Trading" platform.
- Login/signup
- See latest stock prices
- Watchlist
- Buy
- Sell
- Portfolio
- User profile
- Funds
- Help
- Docker
- PSQL
- Kotlin + Spring boot + Gradle + Kotlin DSL
- Tmux
- JDK11
- Flyway
./run.sh
- Service will be accessible at - http://localhost:3030/virtual-trading/health/status
Common issues -
-
Sometimes docker full can fail for psql for multiple reasons
-
Make sure pull happens successfully
-
Main screen can get error if docker pull fails
-
Re-run the bootRun command again if it fails on the main screen
./gradlew test
- Install
ktlint
https://ktlint.github.io/ - Run
ktlint
- Install
ktlint
https://ktlint.github.io/ - Run
ktlint -F "src/**/*.kt"
- There may some issues which needs manual fix, do them.
http://localhost:3030/virtual-trading/swagger-ui/index.html
Project has basic spring boot structure,
- Try to follow TDD while developing or fixing any feature
- Make sure to have sufficient code coverage while writing test cases, focus on scenarios' coverage will automatically take care.
- Report any issues
Copyright (c) 2022 Apna Trading.