Skip to content

will-mcintyre04/mindfuel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Mindfuel 🌟

GitHub pull requests GitHub issues Issues Closed

Flask Python MySQL SQLAlchemy SQLite Jinja2 HTML CSS PythonAnywhere

About

Mindfuel is a Flask-based web application that delivers daily motivational quotes to users. It's designed to uplift and inspire users with a clean and user-friendly interface. Quotes are fetched daily from the ZenQuotes API and emailed at 8am EST.

  • Subscribing and unsubscribing to daily quotes.
  • Simple and intuitive user interface.

How It Works

Mindfuel operates by providing an interface for users to subscribe or unsubscribe from receiving motivational quotes daily. It connects a Python-Anywhere hosted MySQL back-end database using flask-sqlalchemy to an interactive front-end webpage.

To learn more about the code behind sending the emails, click here

Subscribe to Mindfuel

Visit the website here to start getting emails in your inbox!

Getting Started

Follow these steps to set up and run the Mindfuel app on your local machine.

1. Clone the repository

git clone https://github.com/will-mcintyre04/mindfuel.git

cd mindfuel

2. Install dependancies

To install all required dependencies, run the following command on your virtual environment:

pip install -r requirements.txt

3. Create local, configured SQLite database

flask shell
>>> from app.extensions import db
>>> from app.models import Email
>>> db.create_all()
>>> exit()

This will create an app.db database with an emails table within the instance directory.

4. Run the app

flask --app app run

About

Flask application for subscribing and unsubscribing to daily inspirational quotes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors