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

nightowlengineer/gtc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

GTC API

This API provides a series of REST resources that allow various users to manage various items - for now this is centering around members, but can be extended in the future to include things such as books (a 'GTC Library')

System Requirements

Hardware

  • Storage: 5GB
  • Memory: 1GB

Software

  • Java Runtime >= 1.8
  • MongoDB >= 3.2

Misc

  • Network connectivity
  • Valid SSL certificate

Development

You will need an IDE such as Eclipse, an account for GitLab, access to 'TheGTC' group and projects, Git, Maven, as well as the runtime software requirements for the application.

Deployment

The application is run through a standard test & package pipeline, and scp'ed to application servers, and the services restarted. Therefore a successful build will result in continuous and automatic deployment.

Note that if there are configuration file changes, these will need to be made manually

Branching strategy

The current strategy is to develop on master. When the first release starts to be used day-to-day, a develop branch will be introduced which will instead be used for mainline development. At the point of release, this branch will be merged into the master branch.

Branches can be created off the branch being developed against, and merged in as appropriate. Merge requests and code reviews will be required if additional developers work on this project.

Handy commands

Compile and run unit tests:

$ mvn clean test

Compile and package:

$ mvn clean package

Run application:

java -jar path/to/packaged.jar server config.yml

About

A set of RESTful services for the GTC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages