/spring-rest-api-mongodb

Spring REST API using MongoDB

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Spring REST API Example for Users using MongoDB

This is my example project for a Spring Boot REST API for a CRUD-style application.

It follows Thomas Gleason's blog tutorial.

Getting Started

For docker setup, run:

docker-compose build && docker-compose up

Spin down with:

docker-compose down

Example (lists all current Users):

curl http://localhost:8080/users

Stack / Tools

Setup was created using Spring Initializr

  • Spring Boot
    • Spring WEB
  • MongoDB

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely: