Simple boilerplate ready for development

Overview

StartApp

Simple boilerplate ready for development

MIT licensed GitHub stars GitHub forks GitHub issues Downloads

Notes

  • Currently supported frameworks are: FastApi, Flask

πŸ”¨ Installation

 $ sudo pip3 install startapp

πŸ•Ή Guide

startapp  --help 
  • Type startapp on terminal press enter, questions will promt on terminal choose accroding to your taste.
Right after your choice do the followings accrodingly: 

for fastapi:

source .venv/bin/activate


export settings=dev

pip install -r requirements.txt 

uvicorn app.main:app --reload --port 8007

for flask:

source .venv/bin/activate

pip install -r requirements.txt

export FLASK_APP=app.app

export settings=dev

flask run

Flask Structure

β”œβ”€β”€ app
β”‚   β”œβ”€β”€ controllers
β”‚   β”‚   β”œβ”€β”€ app.py
β”‚   β”‚   └── __init__.py
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ models
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── models.py
β”‚   β”œβ”€β”€ serializers
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── serializer.py
β”‚   └── utils.py
β”œβ”€β”€ app_init
β”‚   β”œβ”€β”€ app_factory.py
β”‚   β”œβ”€β”€ __init__.py
β”‚   
β”‚       
β”‚       
β”œβ”€β”€ extensions
β”‚   β”œβ”€β”€ db_conf.py
β”‚   β”œβ”€β”€ extension.py
β”‚   β”œβ”€β”€ __init__.py
β”‚   
β”‚       
β”‚       
β”œβ”€β”€ prestart.sh
β”œ
β”‚   
β”œβ”€β”€ README.md
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ server.py
β”œβ”€β”€ settings
β”‚   β”œβ”€β”€ devsettings.py
β”‚   β”œβ”€β”€ prodsettings.py
β”‚   β”œβ”€β”€ settings.py
β”‚   └── testsettings.py
└── tests
    β”œβ”€β”€ __init__.py
    └── test.py

FastApi Structure

β”œβ”€β”€ app
β”‚   β”œβ”€β”€ controllers
β”‚   β”‚   β”œβ”€β”€ controller
β”‚   β”‚   β”‚   β”œβ”€β”€ controller.py
β”‚   β”‚   β”‚   └── schemas.py
β”‚   β”‚   └── __init__.py
β”‚   β”œβ”€β”€ data
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── models.py
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ main.py
β”‚   └── utils
β”‚       β”œβ”€β”€ helpers.py
β”‚       └── __init__.py
β”œβ”€β”€ container.sh
β”œβ”€β”€ core
β”‚   β”œβ”€β”€ dbsetup.py
β”‚   β”œβ”€β”€ extensions.py
β”‚   β”œβ”€β”€ factories.py
β”‚   β”œβ”€β”€ __init__.py
β”‚   └── settings
β”‚       β”œβ”€β”€ devsettings.py
β”‚       β”œβ”€β”€ __init__.py
β”‚       β”œβ”€β”€ prodsettings.py
β”‚       └── settings.py
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ prestart.sh
β”œβ”€β”€ README.md
β”œβ”€β”€ req.txt
β”œβ”€β”€ requirements.txt
└── start.sh

Supported OS

Linux, MacOS

🌱 Contributing

Fell free to open issue and send pull request.

startapp supports Python >= 3.6

You might also like...
This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

Cookiecutter Django Powered by Cookiecutter, Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. Documentati

Combine the power of FastAPI and Django to build a production-ready application capable of utilizing all of the best features of both worlds.
Combine the power of FastAPI and Django to build a production-ready application capable of utilizing all of the best features of both worlds.

FastAPI and Django Combo This projects aims to combine FastAPI and Django to build a Production ready application capable of utilizing all of the feat

Cookiecutter Flask OpenAPI is a template for jumpstarting production-ready Flask projects quickly.
Cookiecutter Flask OpenAPI is a template for jumpstarting production-ready Flask projects quickly.

Cookiecutter Flask OpenAPI is a template for jumpstarting production-ready Flask projects quickly. It has a well organized and scalable structure. It uses API design first

simple flask starter app utilizing docker

Simple flask starter app utilizing docker to showcase seasonal anime using jikanpy (myanimelist unofficial api).

Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server
Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server

React Flask Authentication Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server.

PyPC is a very simple tool that creates Python projects from templates.

PyPC (Python Project Creator) PyPC is a very simple tool that creates Python projects from templates. In 0.1v#alpha, custom template creation will be

Template for creating ds simple projects

ds-project-template Template for creating ds simple projects Requirements pyenv python==3.9.4 Setup For this purpose you use following commands: pytho

A low dependency and really simple to start project template for Python Projects.
A low dependency and really simple to start project template for Python Projects.

Python Project Template A low dependency and really simple to start project template for Python Projects. HOW TO USE THIS TEMPLATE DO NOT FORK this is

Releases(0.2.0.0)
Owner
Sabuhi
open science enthusiast loves python, go, and shell. Enjoys Linux environment.
Sabuhi
King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server.

King A simple Discord bot boilerplate. King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server. I intend to showc

Xminent 0 Aug 21, 2021
Cookiecutter to create a Google Function. Powered by Poetry, GitHub actions, and Google Cloud Platform

Cookiecutter Google Function Cookiecutter template for a Google Function. Powered by Poetry, and GitHub actions. Quickstart Install the latest Cookiec

Arthur 1 Jan 07, 2022
Django Webpack starter template for using Webpack 5 with Django 3.1 & Bootstrap 4. Yes, it can hot-reload.

Django Webpack Starter Hello fellow human. The repo uses Python 3.9.* Django 3.1.* Webpack 5.4.* Bootstrap 4.5.* Pipenv If you have any questions twe

Ganesh Khade 56 Nov 28, 2022
Django project/application starter for lazybones :)

Django Project Starter Template My custom project starter for Django! I’ll try to support every upcoming Django releases as much as I can! Requirement

Uğur Γ–zyΔ±lmazel 40 Jul 16, 2022
PyPC is a very simple tool that creates Python projects from templates.

PyPC (Python Project Creator) PyPC is a very simple tool that creates Python projects from templates. In 0.1v#alpha, custom template creation will be

art3m1s 1 Nov 26, 2021
Template for creating ds simple projects

ds-project-template Template for creating ds simple projects Requirements pyenv python==3.9.4 Setup For this purpose you use following commands: pytho

1 Dec 17, 2021
A cookiecutter template for python scripts

cookiecutter-py-script A cookiecutter template for python scripts Prerequisites Git Usage pip install cookiecutter

Zeheng Li 1 Dec 14, 2022
A command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, VueJS projects.

Cookiecutter A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python

18.7k Jan 08, 2023
Simple boilerplate ready for development

StartApp Simple boilerplate ready for development Notes Currently supported frameworks are: FastApi, Flask πŸ”¨ Installation $ sudo pip3 install starta

Sabuhi 16 Oct 16, 2022
Launchr is an open source SaaS starter kit, based on Django.

Launchr Launchr is an open source SaaS starter kit. About Launchr is a fully-equipped starter template, ready to start a SaaS web app. It implements t

Jannis Gebauer 183 Jan 06, 2023
A full stack boilerplate for FastAPI

A full stack boilerplate for FastAPI

Tyler M. Kontra 94 Dec 13, 2022
Code Kata Python Template

Code Kata Python Template This is the code kata template for python created by Aula de Software Libre de la Universidad de CΓ³rdoba Step 1. Use this re

Sergio GΓ³mez 2 Nov 30, 2021
A low dependency and really simple to start project template for Python Projects.

Python Project Template A low dependency and really simple to start project template for Python Projects. HOW TO USE THIS TEMPLATE DO NOT FORK this is

Yurii Dubinka 5 Jan 21, 2022
Template for creating PyPI project

template-for-creating-pypi-project Template for creating PyPI project Hello there! This is a template for creating a PyPI project. Fork or clone this

4 Apr 25, 2022
Um template para quem quiser usar o Docker + PGSQL + Django.

Um template para quem quiser usar o Docker + PGSQL + Django.

Drack 2 Mar 11, 2022
Backend Boilerplate using Django,celery,Redis

Backend Boilerplate using Django,celery,Redis

Daniel Mawioo 2 Sep 14, 2022
NHS Theme for Streamlit applications

NHS Streamlit App Template Deployment (local) The tool has been built using Stre

nhs.pycom 3 Nov 07, 2022
Cookiecutter-allpurpose-minimal-python - A simple cookiecutter template for general-purpose python projects.

cookiecutter-allpurpose-minimal-python A simple cookiecutter template for general-purpose python projects. To use, run pip install cookiecutter cookie

E. Tolga Ayan 2 Jan 24, 2022
Starter project for python based lambda project.

Serverless Python Starter Starter project for python based lambda project. Features FastAPI - Frontend dev with Hot Reload API Gateway Integration (+r

4 Feb 22, 2022
A project to get you started with Docker and Django.

Docker Django tl;dr $ git clone [email protected]:erroneousboat/docker-django.git $ d

JP Bruins Slot 176 Dec 29, 2022