janmate / happy_bank_core Goto Github PK
View Code? Open in Web Editor NEWThis repo contains the simple example of bank core backend app.
License: GNU General Public License v3.0
This repo contains the simple example of bank core backend app.
License: GNU General Public License v3.0
Set build and publish stages on CI pipeline.
Instead of poetry build and publish, set docker build command to build a new docker image.
Additionally, set pylint and black steps.
Source:
Choose a convenient logger lib and use it in the python code
Check out mypy: https://mypy.readthedocs.io/en/stable/
Check out coverage: https://coverage.readthedocs.io/en/6.3.1/
It requires only update pyproject.tom (dev-dependencies) - setup on CI is not needed because the dependency management is done by poetry.
Use pytest convension and mocks from unittest package.
Add unit tests into tests folder.
This task must be solve ASAP because blocks all CI.
The linter job in CI pipelines shows some findings that should be solved.
Create REST API endpoints in RestApi class in rest/api.py
Endpoints name: TBA (TODO)
In app.py, add exception handling on the RESTapi level.
Add logic call into RESTapi of the core app as a part of this task.
Source: https://flask.palletsprojects.com/en/2.0.x/errorhandling/#error-handlers
Add CLI commands into Cli class in cli/cli.py and ensure running app from command line.
Hint: https://github.com/MeStrak/dr-sven/blob/main/pyproject.toml
Add new endpoint with path "register" that receive only POST HTTP method and JSON HTTP body containing account properties.
For the logic create new "Registration" class in the module with the same name and "register" method within.
Create new class Transaction in logic/transaction folder with following methods:
Replace "TODOs" in the bash_exam.sh script with your implementation by the instruction above it.
If you have no clue by any of tasks, do not hesitate to open discussion, either in this issue or in a pull request that you would have opened.
Remember and don't forget to be up-to-date -> rebase yourself onto main branch and create a new branch for your task !!!
Create general and uniform interface (create class Connector) in data/connector.py
Add following methods into class:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.