Skip to content

A minimal working example of a dockerized Flask-restplus API

Notifications You must be signed in to change notification settings

laufergall/minimal_restplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This repo contains a minimal working example of a dockerized Flask-restplus API. It is meant to be used as a starting point for developing backend APIs.

Get started

  1. Clone the repository

  2. Make sure you have docker installed

  3. Build the docker image:

docker build -t minimal_flask-restplus .
  1. Run the image:
docker run -p 8399:8399 minimal_flask-restplus:latest

where 8399 is the port to be exposed, in this case.

  1. Access the Swagger UI to interact with the API endpoints under http://localhost:8399/, or http://< docker-machine ip >:8399/ if you have the Docker Toolbox.

About

A minimal working example of a dockerized Flask-restplus API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published