/api-people

API Spring Boot

Primary LanguageJava

API PEOPLE

Description

This project were build in SO Linux Ubuntu 18.04 with JAVA 11, Spring Boot 2.5 Framework and MongoDB 4. API available in: API REST PEOPLE

Users access (username/password)

User master: admin/12345 and User basic: user/12345 in mongo server on-line.

Getting Started

Install Java 11

sudo apt update
sudo apt install default-jre
sudo apt install default-jdk
sudo apt install openjdk-11-jdk
sudo apt install openjdk-11-jre
sudo nano /etc/environment

Write in file: JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/bin/"

Finish with:

echo $JAVA_HOME

Install MongoDB

sudo apt update
sudo apt install -y mongodb
sudo systemctl status mongodb

The configuration of database are in src/main/resources/application.properties with two possibilities, one server on-line and other in localhost.

Run Application

Run file src/main/java/com/people/apipeople/ApiRestPeopleApplication.java.

Application Routes

After run application, access http://localhost:8080/swagger-ui.html for see the application routes, models and others details.

Spring Boot Framework

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely: