Skip to content

Ramzi-Yousfi/crypto_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto_app

python -m venv env

pip install -r requirements.txt

add a text file and name it .env where you will put the env variables

FLASK_ENV = development FLASK_APP= run.py

SECRET_KEY = "***************"

_____on local machine ____
SQLALCHEMY_DATABASE_URI = "postgresql://user:password@host/db-name"

_____on cloud database ____
SQLALCHEMY_DATABASE_URL ="postgresql://user:password@host/db-name"

folow the documentation to get your API key => https://coinmarketcap.com/api/documentation/v1/ CMC_API_KEY='*******************************'

flask db init

flask db migrate

flask db upgrade

flask run
enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published