Skip to content

The application demonstrates the REST API using Spring boot and MongoDB. The application involves the CRUD operations.

Notifications You must be signed in to change notification settings

sairamdevarashetty/spring-boot-mongodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Spring boot and MongoDB REST API - CRUD Example

The application demonstrates the REST API using Spring boot and MongoDB. The application demonstrates all the database operations like Create, Read, Update and Delete.

Tools and Technologies used

  • Spring boot 2.1.2
  • MongoDB
  • Eclipse Oxygen
  • Java1.8

Note: I am using mLab for MongoDB database

Step to install

  1. Clone the application
git clone https://github.com/scbushan05/spring-boot-mongodb.git
  1. Build and run the backend app using maven
cd spring-boot-mongodb-rest-api
mvn package
java -jar target/spring-boot-mongodb-rest-api-0.0.1-SNAPSHOT.jar

Alternatively, you can run the app without packaging it using -

mvn spring-boot:run

The backend server will start at http://localhost:8080.

About

The application demonstrates the REST API using Spring boot and MongoDB. The application involves the CRUD operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%