SecuroPass banner

SecuroPass

10 devlogs
42h 34m 40s

SecuroPass makes ticket handling simple and secure for every event.
Smart checks strong safety and smooth control so each pass feels reliable and easy

This project uses AI

Used Claude and chatgpt for some algorithm check if its powerful for millions request per second and in 1 devlog for debugging code purposes but ai could’t tell the solution 😭 its too complex

Repository

Loading README...

Hardik Gupta

debugging took long I used find instead of filter It was outputting only one value for a fresh db and code was not working fixed that and done some changes in prisma schema with added a new schema for multiple account support

Attachment
0
Hardik Gupta

today I made the mail service working as I added new logic to handle mailing queue with using low resources with rate limiting system of queue as per email and added Nodemailer support to send mails

I will be working on the email service to scale it more further I will be adding these features in upcoming days :-
logs
multiple mails account and multiple smtp server support
a developer toolkit to add templates and multiple accounts to db

Attachment
Attachment
0
Hardik Gupta

added mailing queue system where in list if there are 1000 mails the queue system will check my mail id limit like 50 mails per minute and send mails accordingly and added a requirement check if the data what I am getting from pub/sub whether that that is fully ok for what template its sending for also done some major fixes in connection of redis, migrations and handler to handle mails in its full capacity

Attachment
0
Hardik Gupta

Removed Email Templates from api and added email verify check of cookie token for main pages also added resend code a bit but not pushed to GitHub as I need to make email service first and link it
https://github.com/CodingWithHardik/SecuroPass-API/commit/c4a5e782a3291008e324843ee1df0895a6054f32

I have also built a bit of a mail service that can initialised connection between the api and multiple apps with custom email templates caching from main db and migrating it with redis
https://github.com/CodingWithHardik/SecuroPass-Mail_Server/commit/42344a776d76c77bc10e215d440bb50ca3cc8241

so basically plan is to make a email service that work on redis pub/sub send data to email service and rest email service handles everything eg rate limiting, queue system, bulk mailing. Making due to scale the app to millions of users :)

Attachment
Attachment
0
Hardik Gupta

the plan was to make api web and app in 1 repo but found out we can add multiple Hackatime so changed the plan now instead of using SecuroPass repo will be using
SecuroPass-API
SecuroPass-WEB
SecuroPass-APP

and added events on api to handle error so code don’t stop and fixed some port issue

Attachment
0
Hardik Gupta

fixed multiple type of request handling from a single route and added middleware support with it’s chain to serve data across routes

USED AI: to fix a minor bug in it because it was not giving me output on a req :<

Attachment
Attachment
Attachment
1
Hardik Gupta

Added token regeneration through refresh token and auth token if it’s gets invalid

YES Code is Too Complicated Due to Security purposes :)

Attachment
Attachment
0
Hardik Gupta

Added dynamic routing like nextjs for bun prisma api with moreover made a registration api that return the auth token and the refresh key

FUN FACT: Everything it too encrypted I forgot how do I decrypt

Attachment
0