An open API service indexing awesome lists of open source software.

https://github.com/ralitsaterzieva/pawadopt

Flask based application for puppies adoption
https://github.com/ralitsaterzieva/pawadopt

flask flask-migrate flask-sqlalchemy jinja python sqlalchemy sqlite wtforms

Last synced: 3 months ago
JSON representation

Flask based application for puppies adoption

Awesome Lists containing this project

README

          

# Pawadopt 🐾

Pawadopt is a web application designed for managing puppy adoption, built with Flask. This project demonstrates the use of Flask, SQLAlchemy, Flask-Migrate, WTForms, and SQLite for building a simple CRUD-based web app.

---

## Installation

### Prerequisites
Ensure you have Python (3.7 or higher) and `pip` installed on your machine.

### Steps
1. Clone the repository:
```bash
git clone https://github.com/yourusername/pawadopt.git
cd pawadopt

2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate
venv\Scripts\activate

4. Install the dependencies:
```bash
pip install -r requirements.txt

6. Initialize the database:
```bash
export FLASK_APP=app.py
flask db init
flask db migrate -m "Initial migration"
flask db upgrade

8. Run the application:
```bash
flask run