Skip to content

dbsengineering/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API / Backend OPOWER

JPA + Hibernate + MySQL + Swagger with Spring Boot

Istic School project

version 0.0.1 [development]

Project in Distributed information system (SIR [Système d'information répartie] : french)

This is a backend API OPOWER.

Allows you to compare the consumption of your home's electrical equipment with your friends.

(Illustration : screen example)

Getting Started

  • Download this project.

  • Open with IntelliJ.

  • Open for exemple Wamp and create database name.

  • Change database name in resources/application.properties.

  • Change "spring.jpa.hibernate.ddl-auto" parameter in "resources/application.properties" to "update" if you want keep data.

  • Click on start. It's working.

  • Beginin click on main-controller command in WEB UI http://localhost:8080/swagger-ui.html.

  • Origin the "spring.jpa.hibernate.ddl-auto" paramter in "resources/application.properties" is on create-drop. You can create fictif data in MainController command.

Prerequisites

To have data base sql and Maven installed. If not show the dependency in file.

Installing

Project make on IntelliJ.

You must to make an MySql database(empty). You can editing the application.properties for database name, login and password of your database.

Running

Built With

  • Maven - Dependency Management
  • [Hibernate]
  • [Swagger]
  • [Spring Boot]

Authors

Acknowledgments

About

Istic School Master in Computer Science - JPA API Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published