Where has the fun in banking gone? I have missed themed banks and I have decided to create one.
WagonBank is a Jojo-themed bank that allows you to create an account, deposit money, withdraw money, create a credit card, transact with the card, check your balance.
I created this project to raise awareness about the importance of due diligence in banking. WagonBank might advertise being FDIC insured, but it's actually our banking partners who are insured, not us. (Which we can write in the fine print, but will you read it?)
- Ensure you have a Marqeta account setup here
- clone the repo
- run
npm install
- create a
.env
file and add the following:
API_URL=YOUR MARQETA API URL
API_KEY=YOUR MARQETA API KEY
API_SECRET=YOUR MARQETA API SECRET
BACKEND_URL=YOUR BACKEND URL
PROGRAM_TOKEN=YOUR PROGRAM TOKEN
CARD_PRODUCT_TOKEN=YOUR CARD PRODUCT TOKEN
- in the config.tsx file located in frontend/components/data, change this code
export const BACKEND_URL = "your backend url";
- you can either build the project or for debugging/developing you can use
npm run dev
to start the frontend and usenodemon
to start the backend
Here is a simple flow of how WagonBank works:
Marqeta <-> Backend (Express.js) <-> Frontend (Next.js + React) <-> User
-
Marqeta: handles financial heavylifting
-
Backend: Acts as a middleman, polishing/appending/fetching data between Marqeta and the frontend.
-
Frontend: User interface that interacts with the backend to display data
If you would like to contribute to this project, feel free to fork the project and make a pull request. I will review it and merge it if it fits the project.
- Fork it (https://github.com/KTK27YT/WagonBank/fork)
- Create your feature branch
git checkout -b feature/CoolNewFeature
- Commit your changes
git commit -am 'Add some CoolNewFeature'
- Push to the branch
git push origin feature/CoolNewFeature
- Create a new Pull Request
if you would like to support this project, just give it a star on Github. It would mean a lot to me.