Skip to content

A website built on python-flask framework for adoption of puppy and owner addition/deletion

Notifications You must be signed in to change notification settings

grv231/Puppy-adoption-PythonFlask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppy adoption REST website design using Python Flask

Project Description:

This project aims at using the powerful REST Python framework "Flask" for building a website used for :-

  • Adding a puppy to database
  • Deleting a puppy fron database
  • Associating a puppy with an owner
  • Adding a new owner with Puppy ID
  • Listing the number of puppies

alt text

Project Setup

Copy the required files in a directory. Then use the following steps to setup the project:

  1. Create an optional virtual environment for flask project.
  2. Install python for running the project. (I have used Anaconda distribution here)
  3. Use the requirements.txt file for installing the dependencies. Use the following command for dependencies installation: pip install -r requirments.txt
  4. Test the installation by using the command import flask
  5. Change the directory to the folder where the files have been cloned/downloaded.
  6. Use the following commands to initiate the project
flask db init

flask db migrate -m "<Custom Message>"

flask db upgrade
  1. Initiate the python project using the following command: python app.py
  2. Finally, test the project using - http://127.0.0.1:5000

About

A website built on python-flask framework for adoption of puppy and owner addition/deletion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages