Skip to content

Learning with ChatGPT - making a wishlist site using Flask

Notifications You must be signed in to change notification settings

ssk42/flask-wishlist-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Family Wishlist Application

Overview

The Family Wishlist Application is a web-based platform designed for families to create, share, and manage their wishlists. It allows each family member to add items they wish for, along with details like description, price, and category. Family members can view each other's wishlists, making it easier to give meaningful gifts.

Features

  • User registration and login system.
  • Ability to add, edit, and delete wishlist items.
  • View wishlists of all family members.
  • Sort items by different criteria (user, price, status).
  • Export wishlist items to Excel.
  • Responsive design for a better experience across various devices.

Technologies Used

  • Flask (Python web framework)
  • Bootstrap (Front-end framework)
  • SQLite/PostgreSQL (Database)
  • Heroku (Hosting platform)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

python>=3.8 pip virtualenv (optional)

Installing

A step-by-step series of examples that tell you how to get a development environment running:

  1. Clone the repository:

git clone https://github.com/ssk42/flask-wishlist-site.git

  1. Navigate to the project directory:

cd wishlist

  1. Create a virtual environment (optional):

virtualenv venv

  1. Activate the virtual environment:
  • On Windows:
    .\venv\Scripts\activate
    
  • On Unix or MacOS:
    source venv/bin/activate
    
  1. Install required packages:

pip install -r requirements.txt

Running the Application

  1. Set environment variables:

export FLASK_APP=app.py export FLASK_ENV=development

  1. Initialize the database:

flask db upgrade

  1. Run the application:

flask run

Deployment

Instructions on how to deploy the app on Heroku:

  1. Create a Heroku account and install Heroku CLI.
  2. Log in to Heroku through the CLI.
  3. Set up your Heroku git remote.
  4. Push to Heroku:

git push heroku main

  1. Set up environment variables on Heroku.

Authors

  • Steve Reitz -

Acknowledgments

  • Thx ChatGPT for helping me learn Flask!

About

Learning with ChatGPT - making a wishlist site using Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published