Skip to content

Rviewer-Challenges/skeleton-py-flask-rest

Repository files navigation

Rviewer skeleton: Python, Flask & PostgreSQL

Twitter


This repository is a Python skeleton with Flask & PostgreSQL designed for quickly getting started developing an API. Check the Getting Started for full details.

Technologies

Getting Started

Within the Makefile you can handle the entire flow to get everything up & running:

  1. Install make on your computer, if you do not already have it.
  2. Build the Docker image: make build
  3. Migrate any DB pending task: make migrate
  4. Start the application: make up

As you could see on the Makefile script, you could just avoid those steps and just execute make up, as build and migrate are dependants of it.

Go to http://127.0.0.1:5050/ping to see that everything is up & running!

Overview

This skeleton is split into two main folders:

APP

This folder contains the main Flask configuration. You will find there the core files to get the API up&running with the basic Flask settings parameters.

If you want to tweak or change anything of the configuration, this is the place!

API

Here you will find the different files to expose your URLs & endpoints, but also some folders to start coding and organize your code around a Clean Architecture.

You can use this as a starting point to continue with this architecture, or adapt it to your preferences.

Support

If you are having problems or need anything else, please let us know by raising a new issue.

License

This project is licensed with the MIT license.


Made with ❤️ by Rviewer

About

A skeleton API to start coding with Python, Django & PostgreSQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •