diff --git a/README.md b/README.md index 7bf8b23..f917fdf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,17 @@ # FakeMoney -A PayPal-like payment processor for virtual money, intended to be used for simulation games. +**A PayPal-like payment processor for virtual money, intended to be used for [simulation games](https://de.wikipedia.org/wiki/Schule_als_Staat).** +Send and receive money from your account and businesses you own using simple URLs and QR codes. +Install as a [PWA](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps) +from your browser (Firefox/Chrome/Safari) with just 3 taps and bypass tedious app store processes. + + +Login view  +Send view  +Receive view  + +## Deployment +Is simplified using Docker and by making a few assumptions, e.g. that API and frontend are available under the same domain. ## Development ### Frontend diff --git a/docs/img/screenshot-login.png b/docs/img/screenshot-login.png new file mode 100644 index 0000000..570fbb1 Binary files /dev/null and b/docs/img/screenshot-login.png differ diff --git a/docs/img/screenshot-receive.png b/docs/img/screenshot-receive.png new file mode 100644 index 0000000..e59ff81 Binary files /dev/null and b/docs/img/screenshot-receive.png differ diff --git a/docs/img/screenshot-send.png b/docs/img/screenshot-send.png new file mode 100644 index 0000000..601e907 Binary files /dev/null and b/docs/img/screenshot-send.png differ diff --git a/server/src/messages/Login.ts b/server/src/messages/Login.ts index 1c652e6..e8c68aa 100644 --- a/server/src/messages/Login.ts +++ b/server/src/messages/Login.ts @@ -1,3 +1,4 @@ +import Account from "../model/user"; export class LoginRequest{ constructor( public username: string, @@ -5,5 +6,8 @@ export class LoginRequest{ ){} } export class LoginResponse{ - constructor(){} + constructor( + public user: Account, + public ownedBusinesses: Account[], + ){} } \ No newline at end of file