Jonatandb / python-flask-js-postgresql-crud

Python Flask + JS + PostgreSQL - CRUD

Home Page:https://flask-js-postgresql-crud.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python, PostgreSQL & Javascript - Aplicación Web CRUD (Flask y Vanilla JS)

https://www.youtube.com/watch?v=Qqgry8mezC8



Running project with VSCode

  • Create .env file by copying the .env.example file

  • Open new integrated terminal and run:

    • python -m virtualenv venv
  • Select Python interpreter from VSCode:

    • F1 -> Python: Select Interpreter -> Enter interpreter path -> Select: venv\Scripts\python.exe
  • Open new integrated terminal and run:

    • pip install -r requirements.txt
    • python app.py
  • Visit: http://localhost:5000 (* PostgreSQL must be installed, must contain db with users table and must be running)


Push to Heroku

Push to GitHub

  • git push origin master

About

Python Flask + JS + PostgreSQL - CRUD

https://flask-js-postgresql-crud.herokuapp.com/


Languages

Language:Python 40.6%Language:JavaScript 36.5%Language:HTML 21.6%Language:Shell 1.0%Language:Procfile 0.3%