This project is developed for Software engineering II course. In this course, we developed the project using agile software development.
Use following command to download the project:
$ git clone [email protected]:christiancagnazzo/se2022-02-HikeTracking.git
or you can directly download the file.
This installation uses docker as prerequisite. Run this conmand to install it:
$ curl -fsSL https://get.docker.com | bash -s docker
Copy the "docker-compose.yml" file in a folder and run:
$ docker compose pull
$ docker compose up
Clone the project and run:
$ cd server
$ pip install -r requirements.txt
$ python manage.py makemigrations hiketracking
$ python manage.py migrate
$ python manage.py runserver
Then you need to open a new terminal and run the client:
$ cd client
$ npm install
$ npm start
To insert data to test the application run:
python manage.py loaddata db_population/data.json
HARD CODED USER
Password | Role | |
---|---|---|
"[email protected]" | "1234" | Hiker |
"[email protected]" | "1234" | Local Guide |
"[email protected]" | "1234" | HutWorker |
"[email protected]" | "1234" | PlatformManager |
To execute the code locally, it is necessary to create a file with the name 'key.py' in the 'server / server' folder and insert the following string 'key = APP_PASSWORD' with the password to access the mail service used to send the registration confirm email
- modify hikes and add pages about hike
- add wealther alert and notification
- add record point
- add performance stats
- add recommend hikes
- add unit test
- Refactoring test
- add sonar-project
- add security check
- add requirement.txt
- add Retrospective
- fix bug and add some api
- introduce jinja template to Refactor code
- add user management
- add some pages
- add some api
- add docker file
- add test