Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.6 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.6 KB

IBANapp

A small Django/Angular application that provides management (CRUD) of user bank accounts(IBAN) for administartors logged in with the google account.

Getting Started

Requirements

$ vagrant up --provider=virtualbox

Wait a few minutes for the magic to happen.

Required settings

>>> move along, it already contains my demo credentials(see the last commit)

backend: src/backend/backend/local_settings.py

...
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = "<KEY>"
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = "<SECRET>"

frontend: src/frontend/local_constants.json

{
  ...
  "GOOGLE_API_CLIENT_ID": "<KEY>"
}

Run development servers

# ssh to the vagrant box
$ vagrant ssh
# inside the vagrant box
$ cd backend/
$ ./manage.py runserver 0.0.0.0:8000 
$ cd frontend/ 
$ grunt serve

You're able to get access to the app by going to this URLs:

frontend: http://localhost:9000/

backend (admin): http://localhost:8000/admin/