This repository contains the main project developed (by group 11) throughout the Software Engineering II course @ Politecnico di Torino. It consists of a web application to browse hikes and huts and to track personal hikes.
- Browse hikes, huts and parkings using a series of filters
- See an hike condition and weather reports for the area
- Track an ongoing hike and mark reached reference points
- Visualize general performance statistics, summarizing all registered hikes
- As a local guide or a hut worker, manage hikes and huts information
- As a manager of the system, approve local guides and hut workers
The application is developed in JavaScript and uses a two-server architecture: it uses Express as a framework for the backend and React for the frontend.
Home page | Explore hikes |
---|---|
Hike page | Tracked hike |
Password | Access right | |
---|---|---|
[email protected] | password | Platform manager |
[email protected] | password | Hiker |
[email protected] | password | Local guide |
[email protected] | password | Hut worker |
The software can be executed by running the services' Docker containers.
To use the Docker service for client:
git pull origin main
docker pull erengul/se2022-11-hiketracker-client:latest
docker run -it -p 3000:3000 erengul/se2022-11-hiketracker-client:latest
It will run over the 3000 port.
To use the Docker for server:
git pull origin main
docker pull erengul/se2022-11-hiketracker-server:latest
cd /server/
sudo docker run -v $PWD/db:/db -p 3001:3001 erengul/se2022-11-hiketracker-server:latest
It will run over the 3001 port.
In the root folder, run docker-compose build && docker-compose up
.
cd ./server
npm run test
(Unit Tests)
npm run apiTest
(Integration Tests)