GithubHelp home page GithubHelp logo

victoraugusto6 / api-loan-django Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 101 KB

API for loan using Django and DRF

Home Page: https://github.com/victoraugusto6/api-loan-django

Python 97.45% Dockerfile 2.55%

api-loan-django's Introduction

Loan API using Django and DRF

codecov

API made in Django and DRF to Loans and Payments.

First Steps - Local Instalation

  • create virtualenv using Poetry, run:
poetry shell
  • install dependencies with dev tools, run:
poetry install --no-root --with dev --sync
  • copy env-sample to .env, run:
cp contrib/env-sample .env
  • create Docker container, run:
docker compose up -d
  • start Django server, run:
python manage.py runserver

🛠 Tools used

Package Description
django A high-level Python web framework for building robust and scalable web applications.
python-decouple A Python library that allows you to manage application-specific settings in a .env file.
dj-database-url A Django utility that allows you to configure the database connection using a URL.
gunicorn A lightweight and efficient HTTP server for running Python web applications.
psycopg2-binary A PostgreSQL adapter for Python that enables interaction with PostgreSQL databases.
djangorestframework A powerful and flexible toolkit for building RESTful APIs in Django.
pytest-django A plugin for the pytest testing framework that provides Django-specific features and fixtures.
flake8 A code linter that checks Python code for style and potential errors.
black A highly opinionated code formatter for Python that enforces a consistent coding style.
isort A Python library that automatically sorts and organizes import statements.
pre-commit A framework for managing and enforcing pre-commit hooks for code quality and formatting.
django-debug-toolbar A configurable panel for Django applications that displays useful debugging information.
model-bakery A library for creating model instances in Django tests with minimal code.
django-extensions A collection of custom extensions and management commands for Django projects.
pytest-cov A plugin for pytest that generates code coverage reports during testing.

🌎 Deploy using Fly.io

https://api-loan-django.fly.dev/

Test user in django admin:

username password
user loanapi

api-loan-django's People

Contributors

victoraugusto6 avatar

Stargazers

Luís Gustavo avatar

Watchers

 avatar Luís Gustavo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.