About | Demo | Quick Start | Tech Stack | Team Petential
Petential is a web application that allows you and members of your family to keep track of your pet's daily needs.
- Create a pack for your pet
- Share you unique 6 letter code with your family, allowing them to join the pack
- No need to remember your code, your browser will remember you until you log out
- Track meals and treats
- Record walks and check your local weather to help plan your walks
- Clone this repo
- Ensure you have python 3.9 downloaded on your system
- Run
source venv/bin/activate
to set up the virtual environment cd pet_tential
to move into the project repo- Generate a Django secret key and save it in petential_extension/pet_tential/pet_tential/secret_key.txt
- Run
pip3 install -r requirements.txt
to install the dependencies - Run
python3 manage.py makemigrations
&python3 manage.py migrate
to create your database - Run
python3 manage.py runserver
to run the server - Install Node.js
cd frontend
and runnpm i
to install node modules- Run
npm run dev
to start the front end server - Navigate to localhost or if your console specifies another port, navigate to that instead of 8000
cd pet_tential
to move into the project repo.- Run
python3 manage.py test -v 2
to run tests. - To see test coverage, run
coverage run --omit='*/venv/*' manage.py test
and thencoverage html
. cd htmlcov
and thenopen index.html
to see a snapshot of the test coverage (99% coverage backend).
Use | Backend | Frontend |
---|---|---|
Framework | Django | ReactJS |
Language | Python | Javascript |
Package Manager | pip | npm |
Testing | Unittest | Jest |
Database | PostgreSQL | |
Styling | Material UI |
We used the github wiki to plan the project and track our progress:
- We made User Stories to drive our features.
- Entity Relationship Diagrams helped plan out database structure.
- Mockups were made using Balsamiq.
- We protected our main branch and required two approvals before merging pull requests.
- There were lots of great resources that helped us along the way.
Petential was made as a 2 week final project for Makers by:
Mel | Lucy | Savanna | Georgie
Extension work was undertaken by Mel, Lucy & Georgie.