Best Flask open-source libraries and packages

MyAlfredHotel

:computer: API for handling hotels with user control - including email confirmation :mailbox: - and hotel sites for advertisements. It has security with OAUTH :closed_lock_with_key: and SQLite database :snake:
Updated 3 years ago

Welcome to MyAlfredHotel 👋

Version Documentation Maintenance License: FLASK Twitter: PedroLucasOM

💻 API for handling hotels with user control - including email confirmation 📫 - and hotel sites for advertisements. It has security with OAUTH 🔐 and SQLite database 🐍

🏠 Homepage

Prerequisites

  • aniso8601==8.0.0
  • api==0.0.7
  • certifi==2019.11.28
  • chardet==3.0.4
  • Click==7.0
  • Flask==1.1.1
  • Flask-JWT-Extended==3.24.1
  • Flask-RESTful==0.3.8
  • Flask-SQLAlchemy==2.4.1
  • idna==2.9
  • itsdangerous==1.1.0
  • Jinja2==2.11.1
  • MarkupSafe==1.1.1
  • nose==1.3.7
  • PyJWT==1.7.1
  • pytz==2019.3
  • requests==2.23.0
  • six==1.14.0
  • SQLAlchemy==1.3.13
  • urllib3==1.25.8
  • Werkzeug==1.0.0

Install

pip3 install virtualenv

Usage

Creating the virtual environment

virtualenv myalfred

Activating the virtual environment

For Linux / Mac distributions
source myalfred/bin/activate
For Windows
myalfred\Scripts\activate.bat

Installing the requirements

pip3 install -r requeriments.txt

Mailgun API

To use the confirmation e-mail service when registering, create an account at:

https://www.mailgun.com/

After that, create this file with the following directory:

keys/mailgun.py

Now place the following content in the file:

MAILGUN_DOMAIN = 'YOUR-MAILGUN-SANDBOX-DOMAIN'
MAILGUN_API_KEY = 'YOUR-MAILGUN-API-KEY'
FROM_TITLE = 'NO-REPLY'
FROM_EMAIL = 'YOUR-EMAIL'

Run

python3 app.py

Author

👤 Pedro Lucas

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Pedro Lucas.
This project is FLASK licensed.