{"repo":"4GeeksAcademy/flask-rest-hello","free":true,"listed":false,"github":"https://github.com/4GeeksAcademy/flask-rest-hello","clone":"git clone https://github.com/4GeeksAcademy/flask-rest-hello.git","description":"Start a REST API's using Flask in 30 sec. One-click deploy to Heroku Server (free) & integrated with Gitpod.","language":"Python","stars":139,"topics":["heroku","flask","boilerplate","gitpod","gitpod-boilerplate","gitpod-io","flask-restful","boilerplate-template","boilerplate-application","rest"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Flask Boilerplate for Junior Developers Create flask API's in minutes, 📹 watch the video tutorial. - Extensive documentation here. - Integrated with Pipenv for package managing. - Fast deloyment to render.com or heroku with $ pipenv run deploy . - Use of .env file. - SQLAlchemy integration for database abstraction. 1) Installation This template installs itself in a few seconds if you open it for free with Codespaces (recommended) or Gitpod. Skip this installation steps and jump to step 2 if you decide to use any of those services. Important: The boiplerplate is made for python 3.10 but you can change the python version on the Pipfile. The following steps are automatically runned withing gitpod, if you are doing a local installation you have to do them manually: Note: Codespaces users can connect to psql by typing: psql -h localhost -U gitpod example 2) How to Start coding There is an example API working with an example database. All your application code should be written inside the ./src/ folder. - src/main.py (it's where your endpoints should be coded) - src/models.py (your database tables and serialization logic) - src/utils.py (some reusable classes and functions) - src/admin.py (add your models to the admin and manage your data easily) For a more detailed explanation, look for the tutorial inside the docs folder. Remember to migrate every time you change your models You have to migrate and upgrade the migrations for every update you make to your models: Generate a datab","default_branch":null,"files":null,"tree":[],"storefront":"/r/4GeeksAcademy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/4GeeksAcademy/flask-rest-hello/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}