Skip to content

stephenprn/articles-publisher-back

Repository files navigation

Articles publisher

Articles publisher (back-end) including:

  • JWT authentication
  • Interaction with postgres db through SQLAlchemy

Heroku commands

Deploy

$ git add .
$ git commit -am "make it better"
$ git push heroku master

Cancel current build

heroku builds:cancel

Commands

  • Create venv
python3 -m venv venv
  • Install dependencies
pip install -r requirements.txt
  • Store dependencies in requirements.txt
python -m pip freeze > requirements.txt
  • Activate venv
source venv/bin/activate
  • Set dev environment variables
. ./env_variables.sh

Project structure

Models

Regroup all models corresponding to the SQL tables (user,...).

Routes

All clusters of routes of the application.

Services

Regroup main functions of the application usually called by the blueprints.

Shared

Shared variables and data accessible from different parts of the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages