A boilerplate Flask API for a Fullstack Project with some additional packages and configuration prebuilt. ⚙

Overview

NECTUS

Nectus 🚀

Flask Boilerplate to quickly get started with production grade flask application with some additional packages and configuration prebuilt.

Getting Started

Prerequisites

  • Python 3.9.2 or higher
  • PostgreSQL
  • Docker

Project setup

# clone the repo
$ git clone https://github.com/yezz123/Nectus.git

# move to the project folder
$ cd Nectus

Creating virtual environment

  • Install pipenv a global python project pip install pipenv
  • Create a virtual environment for this project
# creating pipenv environment for python 3
$ pipenv --three

# activating the pipenv environment
$ pipenv shell

# if you have multiple python 3 versions installed then
$ pipenv install -d --python 3.8

# install all dependencies (include -d for installing dev dependencies)
$ pipenv install -d

Configuration

  • Create a .env file from .env.sample and set appropriate environment variables before running the project
APP_NAME=Nectus

DB_HOST= # Host ex. localhost
DB_DATABASE= # Database
DB_USERNAME= # Username ex. Root
DB_PASSWORD= # Password

JWT_SECRET= # generate a JWT Secret
UPLOAD_FOLDER = public

FLASK_APP=main.py
FLASK_ENV=development

Database Migration

  • Make sure the database name username, password and host have been set in the env

  • Migrate and upgrade database into your database management (for this case postgreeSQL)

flask db init

flask db migrate -m "create new table"

flask db upgrade

Running app

  • If you feel that everything can be run, then run the Flash API
flask run

Running the Docker Container

  • We have the Dockerfile created in above section. Now, we will use the Dockerfile to create the image of the flask app and then start the flask app container.
docker build
  • list all the docker images and you can also see the image nectus:latest in the list.
docker images
  • run the application at port 5000. The various options used are:
  • -p: publish the container's port to the host port.
  • -d: run the container in the background.
  • -i: run the container in interactive mode.
  • -t: to allocate pseudo-TTY.
  • --name: name of the container
docker container run -p 5000:5000 -dit --name Nectus nectus:latest
  • Check the status of the docker container
docker container ps

Preconfigured Packages

Includes preconfigured packages to kick start flask app by just setting appropriate configuration.

Package Usage
flask-cors Configuring CORS
python-dotenv Reads the key-value pair from .env file and adds them to environment variable.
PyJWT Python library which allows you to encode and decode JSON Web Tokens (JWT).

yapf packages for linting and formatting

License

This program is free software under MIT license. Please see the LICENSE file in our repository for the full text.

Issues
  • Lint & Rebuild Nectus ✨

    Lint & Rebuild Nectus ✨

    null

    enhancement Extra Large 
    opened by yezz123 2
  • ⬆️ Bump sqlalchemy from 1.4.24 to 1.4.25

    ⬆️ Bump sqlalchemy from 1.4.24 to 1.4.25

    Bumps sqlalchemy from 1.4.24 to 1.4.25.

    Release notes

    Sourced from sqlalchemy's releases.

    1.4.25

    Released: September 22, 2021

    platform

    • [platform] [bug] [regression] Fixed regression due to #7024 where the reorganization of the "platform machine" names used by the greenlet dependency mis-spelled "aarch64" and additionally omitted uppercase "AMD64" as is needed for Windows machines. Pull request courtesy James Dow.

      References: #7024

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump sqlalchemy from 1.4.25 to 1.4.26

    ⬆️ Bump sqlalchemy from 1.4.25 to 1.4.26

    Bumps sqlalchemy from 1.4.25 to 1.4.26.

    Release notes

    Sourced from sqlalchemy's releases.

    1.4.26

    Released: October 19, 2021

    orm

    • [orm] [bug] Improved the exception message generated when configuring a mapping with joined table inheritance where the two tables either have no foreign key relationships set up, or where they have multiple foreign key relationships set up. The message is now ORM specific and includes context that the _orm.Mapper.inherit_condition parameter may be needed particularly for the ambiguous foreign keys case.

    • [orm] [bug] Fixed issue with _orm.with_loader_criteria() feature where ON criteria would not be added to a JOIN for a query of the form select(A).join(B), stating a target while making use of an implicit ON clause.

      References: #7189

    • [orm] [bug] Fixed bug where the ORM "plugin", necessary for features such as _orm.with_loader_criteria() to work correctly, would not be applied to a _sql.select() which queried from an ORM column expression if it made use of the _sql.ColumnElement.label() modifier.

      References: #7205

    • [orm] [bug] Add missing methods added in #6991 to _scoping.scoped_session and _asyncio.async_scoped_session().

      References: #7103

    • [orm] [bug] An extra layer of warning messages has been added to the functionality of _orm.Query.join() and the ORM version of _sql.Select.join(), where a few places where "automatic aliasing" continues to occur will now be called out as a pattern to avoid, mostly specific to the area of joined table inheritance where classes that share common base tables are being joined together without using explicit aliases. One case emits a legacy warning for a pattern that's not recommended, the other case is fully deprecated.

      The automatic aliasing within ORM join() which occurs for overlapping mapped tables does not work consistently with all APIs such as _orm.contains_eager(), and rather than continue to try to make these use cases work everywhere, replacing with a more user-explicit pattern is clearer, less prone to bugs and simplifies SQLAlchemy's internals further.

      The warnings include links to the errors.rst page where each pattern is

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump pyjwt from 2.2.0 to 2.3.0

    ⬆️ Bump pyjwt from 2.2.0 to 2.3.0

    Bumps pyjwt from 2.2.0 to 2.3.0.

    Release notes

    Sourced from pyjwt's releases.

    2.3.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.2.0...2.3.0

    Changelog

    Sourced from pyjwt's changelog.

    v2.3.0 <https://github.com/jpadilla/pyjwt/compare/2.2.0...2.3.0>__

    Fixed

    
    - Revert "Remove arbitrary kwargs." `[#701](https://github.com/jpadilla/pyjwt/issues/701) <https://github.com/jpadilla/pyjwt/pull/701>`__
    

    Added

    • Add exception chaining [#702](https://github.com/jpadilla/pyjwt/issues/702) <https://github.com/jpadilla/pyjwt/pull/702>__
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump python-dotenv from 0.19.0 to 0.19.1

    ⬆️ Bump python-dotenv from 0.19.0 to 0.19.1

    Bumps python-dotenv from 0.19.0 to 0.19.1.

    Release notes

    Sourced from python-dotenv's releases.

    Version 0.19.1

    What's Changed

    New Contributors

    Full Changelog: https://github.com/theskumar/python-dotenv/compare/v0.19.0...v0.19.1

    Changelog

    Sourced from python-dotenv's changelog.

    [0.19.1] - 2021-08-09

    Added

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump click from 8.0.1 to 8.0.3

    ⬆️ Bump click from 8.0.1 to 8.0.3

    Bumps click from 8.0.1 to 8.0.3.

    Release notes

    Sourced from click's releases.

    8.0.3

    8.0.2

    Changelog

    Sourced from click's changelog.

    Version 8.0.3

    Released 2021-10-10

    • Fix issue with Path(resolve_path=True) type creating invalid paths. :issue:2088
    • Importing readline does not cause the confirm() prompt to disappear when pressing backspace. :issue:2092
    • Any default values injected by invoke() are cast to the corresponding parameter's type. :issue:2089, 2090

    Version 8.0.2

    Released 2021-10-08

    • is_bool_flag is not set to True if is_flag is False. :issue:1925
    • Bash version detection is locale independent. :issue:1940
    • Empty default value is not shown for multiple=True. :issue:1969
    • Fix shell completion for arguments that start with a forward slash such as absolute file paths. :issue:1929
    • Path type with resolve_path=True resolves relative symlinks to be relative to the containing directory. :issue:1921
    • Completion does not skip Python's resource cleanup when exiting, avoiding some unexpected warning output. :issue:1738, 2017
    • Fix type annotation for type argument in prompt function. :issue:2062
    • Fix overline and italic styles, which were incorrectly added when adding underline. :pr:2058
    • An option with count=True will not show "[x>=0]" in help text. :issue:2072
    • Default values are not cast to the parameter type twice during processing. :issue:2085
    • Options with multiple and flag_value use the flag value instead of leaving an internal placeholder. :issue:2001
    Commits
    • 41f5b7a Merge pull request #2096 from pallets/release-8.0.3
    • 90fb9f5 release version 8.0.3
    • ba0e9dd Merge pull request #2095 from pallets/invoke-cast-default
    • 662a30e invoke type casts default values
    • 3dde6c5 Merge pull request #2093 from alex-ball/patch-1
    • f31d564 click.confirm preserves prompt when readline is imported
    • 3737511 Merge pull request #2094 from pallets/path-resolve-symlink
    • c8ca29b use pathlib to resolve symlinks
    • 96146c9 Merge pull request #2087 from pallets/release-8.0.2
    • a14e7b0 release version 8.0.2
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump pre-commit from 2.4.0 to 2.15.0

    ⬆️ Bump pre-commit from 2.4.0 to 2.15.0

    Bumps pre-commit from 2.4.0 to 2.15.0.

    Release notes

    Sourced from pre-commit's releases.

    pre-commit v2.15.0

    Features

    Fixes

    pre-commit v2.14.1

    Fixes

    pre-commit v2.14.0

    Features

    Fixes

    pre-commit v2.13.0

    Features

    ... (truncated)

    Changelog

    Sourced from pre-commit's changelog.

    2.15.0 - 2021-09-02

    Features

    Fixes

    2.14.1 - 2021-08-28

    Fixes

    2.14.0 - 2021-08-06

    Features

    Fixes

    2.13.0 - 2021-05-21

    ... (truncated)

    Commits
    • 36b8ad6 v2.15.0
    • c64c36b Merge pull request #2036 from uSpike/add-post-rewrite-hook
    • 4cd8b36 Add: post-rewrite hook support
    • 3bab151 Merge pull request #2030 from pre-commit/duplicate-messages-autoupdate
    • 25a1988 Merge pull request #2029 from pre-commit/broken-symlink-check-useless-excludes
    • 726f2ad remove duplicate warnings while running autoupdate
    • 35d3ed4 fix check-useless-excludes for exclude of broken symlink
    • a96bb23 Merge pull request #2031 from pre-commit/wtf-is-ort
    • 54a481c update tests for latest git
    • 66c51a3 Merge pull request #2027 from pre-commit/dart
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump flask-jwt-extended from 4.3.0 to 4.3.1

    ⬆️ Bump flask-jwt-extended from 4.3.0 to 4.3.1

    Bumps flask-jwt-extended from 4.3.0 to 4.3.1.

    Release notes

    Sourced from flask-jwt-extended's releases.

    4.3.1

    • Allow Flask-JWT-Extended to work with new Cryptography versioning scheme (#452)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • ⬆️ Bump pyjwt from 2.1.0 to 2.2.0

    ⬆️ Bump pyjwt from 2.1.0 to 2.2.0

    Bumps pyjwt from 2.1.0 to 2.2.0.

    Release notes

    Sourced from pyjwt's releases.

    2.2.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.1.0...2.2.0

    Changelog

    Sourced from pyjwt's changelog.

    v2.2.0 <https://github.com/jpadilla/pyjwt/compare/2.1.0...2.2.0>__

    Changed

    
    - Remove arbitrary kwargs. `[#657](https://github.com/jpadilla/pyjwt/issues/657) <https://github.com/jpadilla/pyjwt/pull/657>`__
    - Use timezone package as Python 3.5+ is required. `[#694](https://github.com/jpadilla/pyjwt/issues/694) <https://github.com/jpadilla/pyjwt/pull/694>`__
    

    Fixed

    - Assume JWK without the &quot;use&quot; claim is valid for signing as per RFC7517 `[#668](https://github.com/jpadilla/pyjwt/issues/668) &lt;https://github.com/jpadilla/pyjwt/pull/668&gt;`__
    - Prefer `headers[&quot;alg&quot;]` to `algorithm` in `jwt.encode()`. `[#673](https://github.com/jpadilla/pyjwt/issues/673) &lt;https://github.com/jpadilla/pyjwt/pull/673&gt;`__
    - Fix aud validation to support {'aud': null} case. `[#670](https://github.com/jpadilla/pyjwt/issues/670) &lt;https://github.com/jpadilla/pyjwt/pull/670&gt;`__
    - Make `typ` optional in JWT to be compliant with RFC7519. `[#644](https://github.com/jpadilla/pyjwt/issues/644) &lt;https://github.com/jpadilla/pyjwt/pull/644&gt;`__
    -  Remove upper bound on cryptography version. `[#693](https://github.com/jpadilla/pyjwt/issues/693) &lt;https://github.com/jpadilla/pyjwt/pull/693&gt;`__
    

    Added

    • Add support for Ed448/EdDSA. [#675](https://github.com/jpadilla/pyjwt/issues/675) &lt;https://github.com/jpadilla/pyjwt/pull/675&gt;__
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependencies No Changes 
opened by dependabot[bot] 1
  • ⬆️ Bump werkzeug from 2.0.1 to 2.0.2

    ⬆️ Bump werkzeug from 2.0.1 to 2.0.2

    Bumps werkzeug from 2.0.1 to 2.0.2.

    Release notes

    Sourced from werkzeug's releases.

    2.0.2

    Changelog

    Sourced from werkzeug's changelog.

    Version 2.0.2

    Released 2021-10-05

    • Handle multiple tokens in Connection header when routing WebSocket requests. :issue:2131
    • Set the debugger pin cookie secure flag when on https. :pr:2150
    • Fix type annotation for MultiDict.update to accept iterable values :pr:2142
    • Prevent double encoding of redirect URL when merge_slash=True for Rule.match. :issue:2157
    • CombinedMultiDict.to_dict with flat=False considers all component dicts when building value lists. :issue:2189
    • send_file only sets a detected Content-Encoding if as_attachment is disabled to avoid browsers saving decompressed .tar.gz files. :issue:2149
    • Fix type annotations for TypeConversionDict.get to not return an Optional value if both default and type are not None. :issue:2169
    • Fix type annotation for routing rule factories to accept Iterable[RuleFactory] instead of Iterable[Rule] for the rules parameter. :issue:2183
    • Add missing type annotation for FileStorage.__getattr__ :issue:2155
    • The debugger pin cookie is set with SameSite set to Strict instead of None to be compatible with modern browser security. :issue:2156
    • Type annotations use IO[bytes] and IO[str] instead of BinaryIO and TextIO for wider type compatibility. :issue:2130
    • Ad-hoc TLS certs are generated with SAN matching CN. :issue:2158
    • Fix memory usage for locals when using Python 3.6 or pre 0.4.17 greenlet versions. :pr:2212
    • Fix type annotation in CallbackDict, because it is not utilizing a bound TypeVar. :issue:2235
    • Fix setting CSP header options on the response. :pr:2237
    • Fix an issue with with the interactive debugger where lines would not expand on click for very long tracebacks. :pr:2239
    • The interactive debugger handles displaying an exception that does not have a traceback, such as from ProcessPoolExecutor. :issue:2217
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies No Changes 
    opened by dependabot[bot] 1
  • Improve The Boilerplate by Creating a Frontend Based on JavaScript Framework ReactJs 🚀

    Improve The Boilerplate by Creating a Frontend Based on JavaScript Framework ReactJs 🚀

    Frontend Based on JavaScript Framework ReactJs 🚀

    • Create a Frontend Part for Nectus Boilerplate Based on ReactJs 🤖 .

    • build a basic CRUD (Create, Read, Update, and Delete) application using Python with Flask as the API and React for the front-end.

    Simple boilerplate for a Flask backend and React client including:

    • ES6 transpiring via Webpack
    • Hot module reloading via Webpack Dev Server
    • State management via Redux
    • Tests via Pytest and Jest
    • Linting via Pylint and Eslint

    Dependencies :

    "dependencies": {
            "@testing-library/jest-dom": "^5.14.1",
            "@testing-library/react": "^11.2.7",
            "@testing-library/user-event": "^12.8.3",
            "babel-loader": "8.1.0",
            "axios": "^0.21.1",
            "bootstrap": "^5.0.2",
            "react": "^17.0.2",
            "react-dom": "^17.0.2",
            "react-dotenv": "^0.1.3",
            "react-router-dom": "^5.2.0",
            "react-scripts": "4.0.3",
            "reactstrap": "^8.9.0",
            "web-vitals": "^1.1.2"
        }
    

    Note : This issue relate to this pull request #1

    documentation enhancement good first issue 
    opened by yezz123 0
  • Frontend Part using ReactJS for Nectus 🚀

    Frontend Part using ReactJS for Nectus 🚀

    Setup The FrontEnd Part

    #change Directory to Frontend
    $ cd Frontend
    
    # Prepare the environment by Installing all the Packages
    $ npm install package.json
    
    • If all the Packages are installed and you see node_modules Folder Start :
    • if you feel there is no error in the settings of .env.
    • make sure the API url is correct.
    • If you feel that everything can be run, then run Frontend Part.
    # Build the Project
    $ npm run build
    
    # Start The Project
    $ npm run start
    
    REACT_APP_URL_API = http://localhost:5000
    
    documentation enhancement help wanted good first issue Extra Large 
    opened by yezz123 2
  • Owner
    Yasser Tahiri
    API Ninja / Backend Developer who speaks @python. Creator of @BnademOverflow. I love Open Source & Ancient Greece.
    Yasser Tahiri
    Daniel Vaz Gaspar 3.5k Oct 22, 2021
    APIFlask is a lightweight Python web API framework based on Flask and marshmallow-code projects

    APIFlask APIFlask is a lightweight Python web API framework based on Flask and marshmallow-code projects. It's easy to use, highly customizable, ORM/O

    Grey Li 316 Oct 15, 2021
    A boilerplate Flask API for a Fullstack Project with some additional packages and configuration prebuilt. ⚙

    Flask Boilerplate to quickly get started with production grade flask application with some additional packages and configuration prebuilt.

    Yasser Tahiri 27 Oct 19, 2021
    Fully featured framework for fast, easy and documented API development with Flask

    Flask RestPlus IMPORTANT NOTICE: This project has been forked to Flask-RESTX and will be maintained by by the python-restx organization. Flask-RESTPlu

    Axel H. 2.6k Oct 20, 2021
    Fully featured framework for fast, easy and documented API development with Flask

    Flask RestPlus IMPORTANT NOTICE: This project has been forked to Flask-RESTX and will be maintained by by the python-restx organization. Flask-RESTPlu

    Axel H. 2.5k Feb 17, 2021
    NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.

    NO LONGER MAINTAINED This repository is no longer maintained due to lack of time. You might check out the fork https://github.com/mrevutskyi/flask-res

    null 1k Oct 20, 2021
    NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.

    NO LONGER MAINTAINED This repository is no longer maintained due to lack of time. You might check out the fork https://github.com/mrevutskyi/flask-res

    null 1k Jan 15, 2021
    The Python micro framework for building web applications.

    Flask Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to co

    The Pallets Projects 56.9k Oct 17, 2021
    Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support

    Connexion Connexion is a framework that automagically handles HTTP requests based on OpenAPI Specification (formerly known as Swagger Spec) of your AP

    Zalando SE 3.8k Oct 22, 2021
    Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support

    Connexion Connexion is a framework that automagically handles HTTP requests based on OpenAPI Specification (formerly known as Swagger Spec) of your AP

    Zalando SE 3.5k Feb 17, 2021
    Flask Sugar is a web framework for building APIs with Flask, Pydantic and Python 3.6+ type hints.

    Flask Sugar is a web framework for building APIs with Flask, Pydantic and Python 3.6+ type hints. check parameters and generate API documents automatically. Flask Sugar是一个基于flask,pyddantic,类型注解的API框架, 可以检查参数并自动生成API文档

    null 53 Oct 20, 2021
    Flask-Potion is a RESTful API framework for Flask and SQLAlchemy, Peewee or MongoEngine

    Flask-Potion Description Flask-Potion is a powerful Flask extension for building RESTful JSON APIs. Potion features include validation, model resource

    DTU Biosustain 481 Oct 6, 2021
    Flask-Potion is a RESTful API framework for Flask and SQLAlchemy, Peewee or MongoEngine

    Flask-Potion Description Flask-Potion is a powerful Flask extension for building RESTful JSON APIs. Potion features include validation, model resource

    DTU Biosustain 484 Feb 3, 2021
    Official mirror of https://gitlab.com/pgjones/quart

    Quart Quart is an async Python web microframework. Using Quart you can, render and serve HTML templates, write (RESTful) JSON APIs, serve WebSockets,

    Phil Jones 951 Oct 15, 2021
    Flask + Docker + Nginx + Gunicorn + MySQL + Factory Method Pattern

    This Flask project is reusable and also an example of how to merge Flask, Docker, Nginx, Gunicorn, MySQL, new: Flask-RESTX, Factory Method design pattern, and other optional dependencies such as Dynaconf, Marshmallow, SQLAlchemy, Faker, PyMySQL, Pytest, etc... which are installed inside the virtual environment "env_flask".

    Facundo Padilla 19 Sep 19, 2021
    A shopping list and kitchen inventory management app.

    Flask React Project This is the backend for the Flask React project. Getting started Clone this repository (only this branch) git clone https://github

    null 12 Sep 7, 2021
    You can use the mvc pattern in your flask application using this extension.

    You can use the mvc pattern in your flask application using this extension. Installation Run the follow command to install mvc_flask: $ pip install mv

    Marcus Pereira 5 Sep 12, 2021
    Restful API framework wrapped around MongoEngine

    Flask-MongoRest A Restful API framework wrapped around MongoEngine. Setup from flask import Flask from flask_mongoengine import MongoEngine from flask

    Close 517 Jun 24, 2021
    Restful API framework wrapped around MongoEngine

    Flask-MongoRest A Restful API framework wrapped around MongoEngine. Setup from flask import Flask from flask_mongoengine import MongoEngine from flask

    Close 505 Feb 11, 2021