Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agent-hellboy/flask-starter
A flask extension which contains a basic app and is configured in your local machine through a command line utility
https://github.com/agent-hellboy/flask-starter
flask flask-starter python starter starter-kit starter-template
Last synced: 27 days ago
JSON representation
A flask extension which contains a basic app and is configured in your local machine through a command line utility
- Host: GitHub
- URL: https://github.com/agent-hellboy/flask-starter
- Owner: Agent-Hellboy
- License: mit
- Created: 2020-04-02T17:19:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T19:41:16.000Z (about 1 year ago)
- Last Synced: 2024-10-11T10:03:43.023Z (27 days ago)
- Topics: flask, flask-starter, python, starter, starter-kit, starter-template
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
flask-starter
=============
A flask extension which contains a basic app and is configured in your local machine through a command line utility.. image:: https://img.shields.io/pypi/v/flask-starter
:target: https://pypi.python.org/pypi/flask-starter/.. image:: https://github.com/Agent-Hellboy/flask-starter/actions/workflows/python-app.yml/badge.svg
:target: https://github.com/Agent-Hellboy/flask-starter/.. image:: https://img.shields.io/pypi/pyversions/flask-starter.svg
:target: https://pypi.python.org/pypi/flask-starter/.. image:: https://img.shields.io/pypi/l/flask-starter.svg
:target: https://pypi.python.org/pypi/flask-starter/.. image:: https://pepy.tech/badge/flask-starter
:target: https://pepy.tech/project/flask-starter.. image:: https://img.shields.io/pypi/format/flask-starter.svg
:target: https://pypi.python.org/pypi/flask-starter/.. image:: https://coveralls.io/repos/github/Agent-Hellboy/flask-starter/badge.svg?branch=master
:target: https://coveralls.io/github/Agent-Hellboy/flask-starter?branch=master
Installation
------------for stable version
- pip install flask-starterfor current_version
- pip install git+https://github.com/Agent-Hellboy/flask-starter.git
using
------open the terminal and type
- ``flask-starter-project --name=your-project-name``
- this will build a basic project with inbuilt auth and admin interface for you
- cd `your-project-name`
- create the virtualenv and Install the requirements which is there in `your-project-name`
- run `python3 server.py`you will have below routes by default
.. code:: py
Endpoint Methods Rule
----------------- --------- ---------------------------------
admin.index GET /admin/
admin.static GET /admin/static/
main.home GET /
main.login GET, POST /login
main.logout GET /logout
main.profile GET /profile
main.register GET, POST /register
static GET /static/
user.action_view POST /admin/user/action/
user.ajax_lookup GET /admin/user/ajax/lookup/
user.ajax_update POST /admin/user/ajax/update/
user.create_view GET, POST /admin/user/new/
user.delete_view POST /admin/user/delete/
user.details_view GET /admin/user/details/
user.edit_view GET, POST /admin/user/edit/
user.export GET /admin/user/export//
user.index_view GET /admin/user/
- you can access admin interface by adding `/admin` in your base url
- just write core logic in libs and present your prototypeContributing
------------Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.