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/activateto set up the virtual environment cd pet_tentialto 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.txtto install the dependencies - Run
python3 manage.py makemigrations&python3 manage.py migrateto create your database - Run
python3 manage.py runserverto run the server - Install Node.js
cd frontendand runnpm ito install node modules- Run
npm run devto start the front end server - Navigate to localhost or if your console specifies another port, navigate to that instead of 8000
cd pet_tentialto move into the project repo.- Run
python3 manage.py test -v 2to run tests. - To see test coverage, run
coverage run --omit='*/venv/*' manage.py testand thencoverage html. cd htmlcovand thenopen index.htmlto 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.
