sofyan48 / neo-sanic-boilerplate

Sanic App Boiler Plate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NEO-SANIC PROJECT

This Boiler Plate From Sanic APP

Environment File

APP_NAME = app-name
APP_HOST = 127.0.0.1
APP_PORT = 5000
APP_VERSION = 0.0.0
APP_RELEASE = AAA
APP_CREATED = AAA
APP_WORKERS = 2
APP_DEBUG = True
APP_SSL = None

Local Development

At the time neo-api only support Python3 or newer.

pip3 install -r requirements.txt

After Installing Requirement File, Next Install redis

Use our locally default configuration

cp env.example .env

Runing Server

python manage.py server

Testing

Go To Browser Open this Url: http://127.0.0.1:5000/api/test/people

About

Sanic App Boiler Plate


Languages

Language:Python 100.0%