The main idea from this project is put together some concepts like RESTFull, authentication by Json Web Token, separate the development the backend and frontend and some other things.
The backend use Kotlin and frontend Vuejs.
This project uses a Kotlin based Gradle
configuration, but build.gradle.kts
auto-complete is currently not available since
Kotlin 1.1-M04
IDEA plugin needed for that does not allow to use kotlin-spring
and kotlin-jpa
compiler in a reliable way.
Make sure you have at least IntelliJ IDEA 2016.3 and Kotlin plugin 1.0.6 since
kotlin-spring
and kotlin-jpa
compiler plugins require this version.
You need install postgresql and the configuration are in application.properties
$ ./gradlew bootRun
To run the frontend access que folder /frontend and run:
$ npm run dev
The port 8081 is backend and 8080 frontend. If everything is okay access http://localhost:8080/
- Intellij Communinty Edition, to programming in kotlin
- Visual Studio Code, to programming in js
- DBeaver, to access the database ( For me is the best ide to connection with database in linux)
- PostgreSQL to management the database. You can change the database in file application.properties and add your dependence in build.gradle
- Spring Boot
- Kotlin, I want use 100% kotlin in this project, discovery news challenges and improve my knowledge in this language
- Jwt Authentication between backend and frontend, the responsible for this is Spring Security.
- Vuejs [https://vuejs.org/]
- Bulma [http://bulma.io/]
- Buefy [https://buefy.github.io]
- Npm
- Author: Like a user, but I choice use the name Author
- Post: Its my post, have a author and many tags
- Tag: One post can be one or more tags
- Role: Each Author has one or more role for now can be Standard User and Administrator
For now only home
- Run Backend and Frontend each one in a container
This project is Apache 2.0 licensed.