Giter Club home page Giter Club logo

spring-boot-mongo-starter's Introduction

Spring Boot Starter - Mongo Data

This is a starter project for Spring Boot Mongo Data. It contains technologies as Spring Boot, MongoDB, Mongobee and Spring Security with JWT Token Authorization. Project is still in early phase of development but it's a good point to start learning Spring Boot with MongoDB.

Running the project

  1. Make sure that your mongo service is running
  2. Create database with name spring_mongo
  3. Optionally change the port (database uri) in yml (dev, prod) files
  4. Open terminal and navigate to your project
  5. Type command mvn install
  6. Type command mvn spring-boot:run

Profiles available

  • Development profile (dev)
  • Production profile (prod)

Authorization

Authentication route: /auth/login
Method: POST
Content-Type: application/json
Request body: { username: "admin", password: "admin123", rememberMe: true/false }
Response: { token: "token_hash" }

Packaging for production

  1. mvn clean
  2. mvn -Pprod package

Contribution

If someone is interesting in contribution please contact me on e-mail [email protected]. This is not the last project so it will be more interesting things to come for Spring Boot especially.

Author

Heril Muratović
Software Engineer

Mobile: +38269657962
E-mail: [email protected]
Skype: hedza06
Twitter: hedzakirk
LinkedIn: https://www.linkedin.com/in/heril-muratovi%C4%87-021097132/
StackOverflow: https://stackoverflow.com/users/4078505/heril-muratovic

spring-boot-mongo-starter's People

Contributors

hedza06 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

bear2u

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.