Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.

meeshkan/bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The Meeshkan Bank

Welcome to the Meeshkan Bank!

At the Meeshkan Bank, we send each other Meeshkan Money and watch eagerly as it accumulates interest.

The Meeshkan Bank is proudly tested by Meeshkan, and if you sign up for Meeshkan, it will be the example project you see on the platform.

Getting started

To start the Meeshkan bank, you can run the following command:

npm install && npm run build && npm start

To run the Meeshkan bank in dev mode, you can run

npm install && npm run dev

GraphQL

The Meeshkan Bank's graphql endpoint is accessible at http://localhost:3000/api/graphql. Point your browser there after starting up the Meeshkan bank and you'll see a nice UI where you can interact with the bank.

When you start the Meeshkan bank, it is in an unauthenticated state. You can authenticate as root using the authenticateAsRoot graphql endpoint with the password pa$$w0rd (did we mention that we take security seriously at the Meeshkan Bank?).

From the root state, you can add clients and delete clients. You can also authenticate as a client, which allows you to send money to and fro.

OpenAPI

In addition to its primary graphql interface, the Meeshkan bank does have some extra endpoints. To learn what these are, you can point your browser at http://localhost:3000/docs and http://localhost:3000/api/openapi.

Gotchyas

The Meeshkan Bank has no persistence layer (what a bank!), so every time you restart it, the balances reset. If only real banks worked that way...

About

The great and mighty Meeshkan Bank ๐Ÿฆ๐Ÿ’ฐ๐Ÿ’ณ๐Ÿ’ธ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •