├── .gitattributes ├── .eslintrc.json ├── views ├── partial │ ├── footer.ejs │ ├── header.ejs │ └── nav.ejs ├── edit-user.ejs ├── admin.ejs ├── demo-1.ejs ├── subscribe.ejs ├── create-user.ejs ├── login.ejs ├── transaction.ejs ├── admin-list.ejs ├── demo-2.ejs ├── send.ejs └── home.ejs ├── .github └── FUNDING.yml ├── package.json ├── README.md ├── .gitignore ├── public └── css │ └── styles.css ├── app.js └── LICENSE /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true, 4 | "commonjs": true, 5 | "es6": true 6 | }, 7 | "extends": "eslint:recommended", 8 | "globals": { 9 | "Atomics": "readonly", 10 | "SharedArrayBuffer": "readonly" 11 | }, 12 | "parserOptions": { 13 | "ecmaVersion": 2018 14 | }, 15 | "rules": {} 16 | } 17 | -------------------------------------------------------------------------------- /views/partial/footer.ejs: -------------------------------------------------------------------------------- 1 | 12 | -------------------------------------------------------------------------------- /views/partial/header.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 | 10 | 11 |36 | Woof! 🐶 37 |
38 |46 | <%= message %> 47 |
48 |<%= user.username %>
44 |45 | <%= user.email %> 46 |
47 |48 | <%= user.tokens %><%= tokenSymbol %> 49 |
50 | 51 | <% if(user.admin){ %> 52 |55 | Admin <% } else { %> 56 |
57 | 58 |User <% } %>
59 | 60 |
36 | Ah! I see that you already meet my dog, Daryl. Ho, and he already
37 | gives you 1 TKN ! Good boy ❤️❤️ As a welcome, here is another 49 TKN
38 | for you 😃
39 | But what exactly is Tonken?
40 | Tonken is a Web App where you can create your very own Digital
42 | Currency!
44 | Sounds incredible, right?
45 | You can create a Digital Currency for your Online gaming team,
46 | rewarding members for their skills ⚔️
47 | or you can create it in your company and give your co-workers some
48 | of your Digital Currency 🤝
49 | or you can also create a Digital Currency to share the bill with
50 | friends and family 👪
51 | They are tons of other reasons to use Tonken. Just make it yours!
52 |
68 | You sent <%= i.amount %> <%= tokenSymbol %> to <%= i.toUsername 69 | %> 70 |
71 | <% if(i.message){ %> ✉️ <% } %> 72 | 73 | 78 |92 | <%= i.fromUsername %> sent you <%= i.amount %> <%= tokenSymbol 93 | %> 94 |
95 | <% if(i.message){ %> ✉️ <% } %> 96 | 97 |113 | Florian sent you 49 TKN 114 |
115 | ✉️ 117 | 118 |130 | Daryl sent you 1 TKN 131 |
132 | ✉️ 133 | 134 |