Fitspo was developed as a group project during Spring 2018 for the subject TDT 4140 (Programvareutvikling) at the Norwegian University of Science and Technology (NTNU).
An application for a personal trainer to follow up his/her customers. The idea is that the customer has an app on their phone which collects data from their regular lives, and sends it to our server daily. This data includes steps, heartrate, gps-data and more, but most likely we'll not be using any more than the step data. What we aim to do is to provide the personal trainer with more detailed information about the day to day activity of the person they're working on, as well as the progression.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Git
- JDK version 1.8
- IDE with Maven Extension, e.g Eclipse
- A clone of this repo on your local machine
These instructions will give you a development env running in Eclipse
- Download Eclipse with TDT4180 extension. This version will give you access to testfunctonalites through Maven When installing eclipse choose advanced mode and select product tdt4180 without any projects.
Clone the project from terminal:
cd path/to/yourEclipseWorkspace
git clone git@gitlab.stud.iie.ntnu.no:tdt4140-2018/06.git
Open Eclipse and the project folder. Run tdt4140-gr1806.app.core.FitspoApp.Java and the application should start.
We're using Junit 4 as our unit testing framework.
Right-click on the tdt4140-gr1806.core folder and click "Run As Maven Test". To run one specific unit test just right click it and choose "Run as JUnit test".
For this you'll need to use Maven in the terminal, navigate to the project folder tdt4140-gr1806 and run mvn verify.
See our [Wiki] (https://gitlab.stud.iie.ntnu.no/tdt4140-2018/06/wikis/Systemtest)
- Set up your database information in ConnectionManager in the core folder.
- Create a .jar file for the project and run the application.
- Eclipse - IDE
- [IntelliJ] (https://www.jetbrains.com/idea/) - IDE
- Maven - Dependency Management
- git checkout master
- git pull origin master to get the latest main code
- git checkout -b name-of-my-branch (Name of branch should start with #issuenumber)
- Follow the "Running locally" instructrions
- Save the files and check your application locally by starting FitspoApp.java
Unit tests and integration tests should be written
- See "Testing instructions" for further details
- git add -A && git commit -m"message" ("message" should contain what you have done)
- git push --set-upstream my-branch-name
Go to you branch in gitlab. Click on "merge request", choose your target and write what you have done.
- Adrian Hofseth
- Åsmund Staldvik
- Tore Stensaker Tefre
- Matias Ravnå Eidem
- Henriette Andersen
- Ingrid Domben
- Magnus Gaustad Eriksson
We use Gitlab for versioning.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Our teaching assistants for great help and reviews.
- reactjs and PurpleBooth for great templates for readme.