Say Hello to anonmsg.fun - an Anonymous Feedback platform
Hi, Hope you are doing fine... Gaurav This side, I hope everything is fine, on your side, and if it is not fine, don't worry it would be : ) This article is regarding AnonMsg which you to give and take Anonymous feedback from anyone. Feedback has always been important in Our life to grow and move ahead. Our product AnonMsg helps people to send and receive anonymous Messages... there might be some apps like this.. but I have completely redesigned the UX/ UI and reduced the friction. AnonMsg offers the best experience among competitors. Plus there is no need to come back and check for messages like another app we will send you to push notifications as soon you will get a message.
Earlier the plan was to work on email notifications but.. honestly sending emails is not free and even on the free plan, there is a limit of 100 emails per day... but I want a to build a product to scale and not worry about all these costs and everything so I switched to notifications earlier the plan was to use one signal but it did not work out one signal does not allows you to send notifications to specific users :) So I switched to FCM (Firebase Cloud Messaging) it is quite awesome. So when you will come for the first time to AnonMsg it will ask you whether it can send you notifications or not! if you want to get a notification every time someone messages you. Then click allow :)
And thanks to the service worker running in the background you will always get a notification a detailed article is coming soon on it.
and once you have got the message you always read it on the dashboard... Plus once you clicked on the link icon
you would be able to get a link that you can share on social media
and once the user clicks on the link generated by AnonMsg. the user would be redirected to the msg page. once the user sends you a message you would be sent a notification and if you have disabled the notification then you can later check it on Dashboard.
Here are a few use cases in which this project can be used -
For Social Media Some Social Media platforms are full of toxicity and sometimes people get bullied for saying the right things so If you want to say something to someone and don't want to get trolled then AnonMsg is the right for you.
To Have Fun You can have a lot of fun while using this project just post the URL into your status and people can give feedback, some fun tasks, or even what if someone confesses to you. 😝. In such a situation, you don't want to miss that message just because you didn't check on that website where AnonMsg comes into the picture :) Our instant notifications will keep you on track. (for free)
Challenges I ran into
Push Notifications :-
Implementing push notifications was the hardest part. I was first going with OneSingnal... Later got to know that they do not allow sending notifications to a specific device. so I have to switch it later to firebase cloud messaging. Later I have to implement a service worker to receive notifications in the background. Which was another task. and another challenge in this module was to send notifications. for that, I am using the firebase admin module and triggering notifications for users each time the message is sent. Plus redirecting the user on notification click was another challenge that I have solved :)
Setting Up DNS & Deployment on Vercel :-
Deployment on Vercel is easy until the other 3rd parties are involved. I have to change the website URL for each and every service I am using to ensure things work as they are expected. Plus buying a domain in the last movement and chaining A and CNAME records we completely level things. I haven't thought I could do so much in so less time
Building Anon msg in Next and chakra : -
So charka has a hook called use media query which allows users to use media query I was using this in the project it makes it responsive. I dev env it was working fine but later in deployment, my UI was breaking... after researching a lot I got to know this is due to SSR later I disabled it and everything is fine now. :)
if you find a bug feel free to report it to me :)
also one thing regarding the stats.... they are quite good for the anonmsg for the past 2 days :) here it goes