Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

heig-PRO-b04/java-backend

Repository files navigation

heig-PRO-b04/java-backend

Integrations tests (Python) JUnit5 Tests Google Java Checkstyle Heroku App Status

An application to create, edit and delete polls that can be answered in real time. In this repository, you'll find the codebase of the web server of the system.

This software is developed as semester project (PRO) at HEIG-VD, academic year 2019/20.

Development team:

Name
Matthieu Burguburu (ass. project lead) [email protected]
David Dupraz [email protected]
Clarisse Fleurimont [email protected]
Alexandre Piveteau (project lead) [email protected]
Guy-Laurent Subri [email protected]

Dependencies

This project uses Maven and is automatically deployed to Heroku. It also relies on the Spring framework.

Building and installing

To launch the app locally, you need to :

  1. Install a local PostgreSQL instance, configured to work with the backend. You need to have the following environment variables set :
    • SPRING_DATASOURCE_URL : this is the URL at which the database is exposed.
    • SPRING_DATASOURCE_USERNAME : this is a valid username to access the database.
    • SPRING_DATASOURCE_PASSWORD : this is a valid password to access the database.
    • The schema will automatically be created by the backend environment !
    • More details information on how to set the environment variables can be found in the Wiki.
  2. Clone the repository
  3. Run mvn clean install at the root of the repo. This will resolve all the required dependencies.
  4. Run mvn spring-boot:run and go to the port indicated in the command line.

About

A Spring application that manages live polls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published