Code Monkey home page Code Monkey logo

kestrel's Introduction

CircleCI codecov Requirements Status License: MIT

Kestrel

A heavily opinionated Falcon boilerplate.

What's Included

For Development

  • OpenAPI/Swagger Viewer for API testing
  • Flake8 for linting
  • Sphinx to generate html documentation

Requirements

Docker

Installation

  1. Clone this repo
  2. Open up your terminal/powershell and navigate to the project folder.
  3. Run Docker Compose to start the VM docker-compose up -d
  4. Go to http://localhost!

Developing locally

While Docker is running, you can install all the dependencies with pipenv install --dev and any changes you make should automatically be reflected on localhost.

Testing

Some sample tests have been written in PyTest, running them is as simple as typing pytest in the directory. This will go through the repository and search for any files starting with test, which are located in the tests folders.

Structure

Alembic

Alembic is a lightweight database migration tool for usage with the SQLAlchemy Database Toolkit for Python.

App

The main Falcon application

App.py

The start of the API service

Middleware

Functions that are called before and after each of the resources.

Resources

All of your endpoints and how you deal with API requests go here

kestrel's People

Contributors

dependabot[bot] avatar dillonco avatar jeff-li avatar visate 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.