Skip to content

sushobhit-lt/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

 
 
 

Contributors

Languages

  • Java 100.0%