Guest blog with using such technology stack as Spring MVC, Spring Data, PostgreSQL and Spring Boot for autoconfiguration. You can to see the application here. This service has the next features:
- REST-API
- Cookie based authentication
- stores images in the database
The main goal of this application is studying technology stack which was specified above. Consider it just as laboratory mouse.
GB_SERVER_PORT- port of this serviceGB_POSTGRES_URL- url for PostgreSQL databaseGB_POSTGRES_USERNAME- username of the databaseGB_POSTGRES_PASSWORD- password for this usernameOAUTH2_GOOGLE_CLIENT_IDOAUTH2_GOOGLE_CLIENT_SECRETOAUTH2_FACEBOOK_CLIENT_IDOAUTH2_FACEBOOK_CLIENT_SECRET
The documentation about restpoints available by the next path: <this service url>/swagger-ui/index.html. You can read more about.
The default credentials are
- username:
admin@test.dev - password:
admin
There is also the user's account in testing purposes:
- username:
user@test.dev - password:
password
Its possible to change it later.