init
This commit is contained in:
commit
ef105e1cac
22 changed files with 3001 additions and 0 deletions
19
README.md
Normal file
19
README.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Superbanka
|
||||
|
||||
Server-rendered Go banking demo with PostgreSQL, internal account-number transfers, separate admin accounts, and ledger-backed balances.
|
||||
|
||||
## Local development
|
||||
|
||||
1. Create local config: `cp .env.example .env`
|
||||
2. Start PostgreSQL: `make up`
|
||||
3. Run the app: `make dev`
|
||||
|
||||
The app listens on `http://localhost:8080` by default.
|
||||
Postgres is exposed on `localhost:5433` to avoid conflicts with any existing local instance.
|
||||
|
||||
The app loads `.env` automatically on startup. Existing shell environment variables still take precedence over values in `.env`.
|
||||
|
||||
Default bootstrap admin credentials:
|
||||
|
||||
- Email: `admin@superbanka.local`
|
||||
- Password: `admin123456`
|
||||
Loading…
Add table
Add a link
Reference in a new issue