This project demonstrates the usage of SOLID principle. The program can store three types of post which is text, image, and video, and can delete it.
- Install Kotlin and JDK
Build
./gradlew build
Run
./gradlew run --console=plain
To add post:
new text <title> <text>
new image <title> <filename>
new video <title> <filename>
To delete post:
delete <id>
To print all:
print