Inspiration

We followed the tiktok track and tried implementing a payment system that is fast and secure

What it does

It is a payment system

How we built it

We used nextjs for the full stack implementation and MongoDB Atlas as our database. We used google authentication as our login to ensure that the users cannot be spoofed.

Challenges we ran into

We could not simulate 100k qps due to the inadequate system architecture, however, we managed to increase our writes into database by buffering the fake data into a cache while the database processes the previous requests

Accomplishments that we're proud of

We managed to finish a minimally viable product where users can pay each othet

What we learned

We learned nextJs, nextAuth and the full stack development process. We also explored many tools such as locust to do load my

What's next for TokPay

We can introduce encryption into the transactions to ensure that the payment does not get stolen and its details are hidden from prying eyes. We also need to introduce a caching system within the database as well as replication systems from different providers in order to ensure data consistency. If connection gets lost or if the cloud service is down, we can ensure that there is always a real-time secondary copy of the data

Built With

Share this project:

Updates