Skip to content

RasmusDH/SemProjectBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

InSession startcode

Team

Peter R Andersen

Jens Gelbek

Rasmus Ditlev Hansen

Tobias Zimmermann

Getting started

  1. Change the remote.server to your domain in the pom.xml

  2. Change env variable connection_str in the EMF_Creator

  3. Insert that new env variable on your droplets docker-compose.yml file together with a new database name

  4. Run these commands:

    • docker-compose down
    • docker-compose build
    • docker-compose up -d
  5. Create the new database on your droplet

  6. Change REMOTE_USER & REMOTE_PW in Travis for Tomcat deploy.

  7. In SetupTestUsers. Change user & admin credentials to generate users in a startup database.

Usage:

In HttpUtil are two methods designed to easily 'Fetch' from different external servers.

  1. Method: fetchData, Fetch data from one link/endpoint.
  2. Method: fetchMany, Fetch data from many links/endpoints.

Rest: Roles allowed annotations: Change the annotations if you want to make an endpoint accessible for different user-roles.

Travis

In the .travis.yml there is a section only under branches, this is where you can decide which branches should be build on push.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •