Giter Site home page Giter Site logo

aojeainsurances's Introduction

AojeaInsurances

MongoDB Crud practice using Spring Boot, Thymeleaf and Bootstrap

MongoDB setting instructions for Mac Users:

  1. Install MongoDB using Homebrew: brew install mongodb-community
  2. Start mongo service: services start mongodb-community
  3. Check if the new mongodb process was created: sudo lsof -i tcp:27017 or ps aux | grep -v grep | grep mongod
  4. Install robomongo https://robomongo.org/
  5. Create a new database with the name insurance and new collection members

Starting the app

  1. Import the project as maven project in eclipse
  2. Start the mongoDB services. If you don't that first you will get errors trying to inject dependencies during the compilation time.
  3. Resolve the dependencies using maven command: mvn -X clean install
  4. Check if the database configuration is ok in application.properties
  5. run the command ./mvnw spring-boot:run for starting the application.

Heroku Deploy - Cloud

  1. Enter in Heroku dashboar: https://dashboard.heroku.com/
  2. Associate this github project
  3. Enter in Resources and search by mLab MongoDB

To connect using the mongo shell: mongo ds031329.mlab.com:31329/heroku_6kq54m6n -u -p To connect using a driver via the standard MongoDB URI (what's this?): mongodb://:@ds031329.mlab.com:31329/heroku_6kq54m6n

  1. Create a new DB user and password

  2. Modify the file application.properties in this github project adding the user and password

aojeainsurances's People

Contributors

alojea avatar

Watchers

 avatar  avatar

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.