GitXplorerGitXplorer
r

pet-tracker

public
5 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
95e0212b1c25fb72312043ecc177c094a9224b23

Merge pull request #1 from ryangallen/screenshots

rryangallen committed 3 years ago
Unverified
797cf9e55fce1aafb179bf8b059e808e6dee56af

Update README.md

rryangallen committed 8 years ago
Unverified
6cbb4b2b32e8dfaafe75b2d7ed3ba986497d0ffa

Update README.md

rryangallen committed 8 years ago
Unverified
1a51a9b04640ddb38deec7e57c5ab14fc4e88ed6

Add screenshots to readme

rryangallen committed 8 years ago
Unverified
eef3c39ad7c32a35e8f878d1267389789f4b212f

Screenshots

rryangallen committed 8 years ago
Unverified
218160210ed364d2648d36ea9b4a97874768c975

Update README.md

rryangallen committed 8 years ago

README

The README file for this repository.

Pet Tracker

A demo app built with Django and AngularJS, and Django Rest Framework for the API.

Scenario/Requirements

A pet store decides they want a way to keep track of their dogs and cats. They said they want to be able to store these attributes:

  • name
  • breed
  • birthday

The pet store wants to be able to:

  • list all pets
  • list all dogs
  • list all cats
  • view one dog
  • view one cat
  • add a dog
  • add a cat
  • delete a dog
  • delete a cat

Screenshots

Login

Login

Dashboard

Dashboard

Dashboard filtered

Dashboard filtered

Add a pet

Add a pet

Select animal type

Select animal type

Select animal breed

Select animal breed

Animal details form

Animal details form

Animal added

Animal added

Animal details

Animal details

Delete animal

Delete animal

Confirm delete animal (blank)

Confirm delete animal (blank)

Confirm delete animal (name entered)

Confirm delete animal (name entered)

Dev Environment

This application is designed to run in a Python 3.4 virtualenv.

Requirements

Use pip install to install these required packages.

  • Django
  • Markdown
  • djangorestframework
  • selenium

Running

Run the test server with python manage.py runserver. View the application in a web browser at http://127.0.0.1:8000/.

Testing

Run the tests with python manage.py test. See Testing in Django for more information.

Funcational tests are built with Selenium and run in Mozilla Firefox. See the Selenium Webdriver API docs for testing in other browsers.

License

The MIT License (MIT)

Copyright (c) 2017 Ryan Allen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.