Giter Club home page Giter Club logo

iban-manager's Introduction

IBAN Manager QuickStart

Operating System requirements

  • docker ce
  • docker-compose

Libraries and Components used

  • Django 2.1
  • Django REST Framework 3.8
  • Python 3.6
  • django-rest-framework-social-oauth2 for Google Auth
  • python-stdnum for values validations (In our case for IBAN accounts)
  • django-querycount Debug queries

Installation

IMPORTANT!

Make a copy of the file env.example and renamed it to .env

You should make the list of Google Emails you want to login in the app, since the app uses Google Authentication, it requires at least one ADMIN user matches the google email.

Example:

[email protected],[email protected]

This will create the ADMIN users at startup, so this list can be expanded at any time to add new ADMIN users (or just use the Django Admin Panel http://localhost:8000/admin/ ).

To build the project in development mode:

Move to the base directory (you should see the dev.yml file).

  • 1 docker-compose -f dev.yml build

This will take a while until all the dependencies are installed (Python requirements, React packages and OS binaries).

Install Tables to PostgreSQL.

  • 2 docker-compose -f dev.yml run --rm ibanmanager_django python manage.py migrate

Once done, start the project with:

Tests

To execute Django tests just type:

docker-compose -f test.yml up

Note:

After the tests, PostgreSQL doesn't shutdown. This can cause malfunction with other docker projects if they use the same port.

To avoid this, just execute:

docker-compose -f dev.yml stop

Usage

1 Login with you Google Account using the top button "Login with Google".

2 In the user list you will see only the ADMIN accounts.

3 You can create new users in the tab "New User".

4 To see and update an user, you can click the row of the user in "Users List".

4.1 If you are the creator of the user, then you will be able to add new accounts and modify user details.

iban-manager's People

Contributors

tsptoni avatar

Watchers

James Cloos avatar  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.