Giter Club home page Giter Club logo

flask-philo's Introduction

Flask-Philo

Small and very opinionated framework to build flask based microservices.

You can check the official documentation here

What this project is about?

Flask is an awesome web microframework that works great out of the box. Nevertheless, additional configuration and integration with complementary libraries are required in order to build complex applications. Here in riffstation.com we have several HTTP REST based microservices, anytime that we want to create a new microservice we need to bootstrap very similar common code.

This framework collect all the logic related with HTTP, REST and data access in one common place. Feel free to use it and extend it. We are willing to hear about your suggestions and improvements.

Installation

pip3 install Flask-Philo

Executing test

In order to run test a vagrant instance is required, below steps required to execute unit tests:

   cd test
   vagrant up
   vagrant ssh
   cd /src/test
   python3 manage.py test

Basic Features

  • REST out of the box.

  • Simple sqlalchemy orm customized for postgresql with multiple dabatases.

  • Simple Redis integration.

  • Simple Elastic Search integration.

  • Basic AWS integration.

External Resources

Creating a new project

Flask-Philo includes the flask-philo-admin command line tool. To quickly generate a new Flask-Philo project, navigate to the directory in which you want to create the project and run:

flask-philo-admin startproject <project_name>

This will create a folder called project_name which will contain the basic structure of a Flask-Philo application, basic unit tests and configuration.

flask-philo's People

Contributors

mfranco avatar vcali avatar niallryan avatar felipepina01 avatar rondineli avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.