GithubHelp home page GithubHelp logo

alessiomason / se2022-11-hiketracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 106.26 MB

Main project for the Software Engineering II course (group 11)

HTML 0.30% CSS 10.21% JavaScript 89.44% Dockerfile 0.05%

se2022-11-hiketracker's Introduction

SE2022-11-HikeTracker

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.

๐ŸŒ Qui in italiano

Features

  • 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

Technology

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.

Screenshots

Home page Home page Explore hikes Explore hikes
Hike page Hike page Tracked hike Tracked hike

Hard-coded users

Email Password Access right
[email protected] password Platform manager
[email protected] password Hiker
[email protected] password Local guide
[email protected] password Hut worker

Running the software

The software can be executed by running the services' Docker containers.

Docker commands for client

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.

Docker commands for server

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.

Run both services

In the root folder, run docker-compose build && docker-compose up.

Commands for testing

cd ./server

npm run test (Unit Tests)

npm run apiTest (Integration Tests)

Tests status

Unit tests I

se2022-11-hiketracker's People

Contributors

alessiomason avatar luca-rota avatar salvatoremallemaci avatar violamudu avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

izcotmt

se2022-11-hiketracker's Issues

[DEMO 4 - Visitor] Website colors

You have done a really well job on the site interfaces. However, I have noticed that there are many different colours used on the various pages, and this can become annoying. The variety of colours can distract attention and make it more difficult to navigate the site. In addition, too many colours can tire the eyes and psyche of users. I would suggest limiting the number of colours used on the site and using more uniform shades to increase the usability and user-friendliness of the interfaces.

Responsive Display

As a visitor, I want to use the website on my smartphone: the application in general is responsive but I only found a small bug regarding the image on the homepage when I made the screen smaller

[DEMO 4 - Local Guide] Not always clear where to find operations

I have noticed that sometimes it is not always clear where to look for the actions I need. For example, to manage changes in huts, parking lots and hikes, I need to go to my personal profile, but I do not find much correlation in this. This can make it difficult for us local guides to find what we need and can also increase the time needed to complete an action. I would suggest that you consider how to better organise the layout of the site so that it is more intuitive for us local guides to find what we need.

Closed and completed hikes

As an hiker I find strange the possibility of suspend a hike in progress without being able to resume its execution later on. Moreover, stopped hikes must not be in the list of completed hikes to avoid being misleading. A solution could be just a change of title (from "completed hikes" to "history", for example) or provide stopped ones in a separate list.

Reference Point Hiker Description

As a local guide, I would to add one or more reference points when I upload a new track file and edit the fields of the hike description

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.