Skip to content

It's a to-do list web app that allows creating tasks with a basic login system. It has been made with Python, Flask, and Firebase. It's based on the project from Platzi's course of Flask.

Notifications You must be signed in to change notification settings

BarbDMC/platzi-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platzi-task

It's a to-do list web app that allows creating tasks with a basic login system. It has been made with Python, Flask, and Firebase. It's based on the project from Platzi's course of Flask.


How to start

  • Navegate to project's folder
  • Create a virtual enviroment with command: virtualenv venv
  • Activate the enviroment with command: source venv/bin/activate
  • For deactivate run: deactivate
  • Install dependencies with: pip install -r requirements.txt
  • Set flask app running: export FLASK_APP=main.py
  • For debugging mode: export FLASK_ENV=development

For use firestore

  • Create a firestore database with a users collection.
  • In firebase console go to: Project settings -> Service accounts -> Firebase Admin SDK.
  • Download your crediantials service account selecting 'Generate new private key'.
  • Set GOOGLE_APPLICATION_CREDENTIALS environment variable with the path of your credential json file,
    example: export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json"

Run project

  • Use command: flask run

Run tests

  • Use command: flask test

About

It's a to-do list web app that allows creating tasks with a basic login system. It has been made with Python, Flask, and Firebase. It's based on the project from Platzi's course of Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published