Yash Kotian
32 posts

Yash Kotian
@Yking_ly
learner. learning a lil of everything.
Mumbai, India Katılım Temmuz 2022
72 Takip Edilen14 Takipçiler

@OjasSharma276 Cant believe I got a fix for my own project from a tweet...thank you🙏🏻
English

I deployed my backend on Railway, and everything worked perfectly on my device. So I connected the backend URL to my frontend script and pushed the changes live.
Guess what the backend was only working for my device and not any other device.
The Problem I Was Facing:
>I built a feedback feature for my InterviewPrep website.
>Frontend: Hosted on Vercel (interviewprep-v1.vercel.app)
>Backend API: Hosted on Railway
What happened:
It worked perfectly on my laptop
>It failed on all mobile devices
>It failed on other people’s computers
>The error: Failed to fetch, even though the backend was running on my device.
The issue was cross domain and network restrictions.
Old flow:
Mobile Browser → Railway Backend (network blocking)
What I changed:
Instead of calling the Railway backend directly from the Vercel hosted frontend, I added a Vercel proxy.
New flow:
Mobile Browser → Vercel Proxy → Railway Backend

English

Day 3
Learned 6 rate-limiting algorithms and implemented it using Go...Idek why I did this...
Github Link: github.com/yking-ly/RateL…
Live Link: ratelimiter-kh58.onrender.com
English

Day 2
Building a CLI in go to learn more how Go and CLI systems work; referred to @spf13's 2017 workshop where he used cobra framework...will take a couple of days to fully polish this

English

Day 1
Completed Go course on @codechef , felt they can add more content to it, will be brushing up tomorrow in detail using docs
Also I started Beginner level blockchain course on @CyfrinUpdraft, will be going in detail tomorrow
English













