Skip to content

notesmen/geonotes-server

Repository files navigation

Build Status

About

It is backend part of GeoNotes project which is used for storing notes in the cloud and keep them available for you from everywhere.

Written in Kotlin using Spring Framework.

Deployment

  1. Set up mongodb server

  2. Set up parameters at application.properties

Options that have to be specified at file src/main/resources/application.properties:

spring.data.mongodb.host
spring.data.mongodb.port
spring.data.mongodb.database
spring.data.mongodb.authentication-database
spring.data.mongodb.username
spring.data.mongodb.password 
jwt.token-validity-duration # in hours
jwt.encoded-secret # your secret key, base64 encoded

# default values api.min-username-length=3 api.max-username-length=20 api.min-password-length=4 api.max-password-length=24 api.max-notes-per-request=30 api.max-title-length=20 api.max-text-length=1000 api.max-tags-total-length=1000

  1. Build docker image:
./gradlew bootBuildImage --imageName=geonotes/server
  1. Run image on server

About

Server part for notes with geolocation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages