CORS
(Cross-origin resource sharing)
- when your frontend and backend run on different origins, the browser restricts access to responses for security reasons.
- origin = potocol + domain + port
17
Stuff I explored today :)
• Express.js server setup
• API testing with Postman
• Environment variables (.env)
• Git & Prettier
• Professional project structure
• Auto-restarting the server
• Separating app logic into different files
#webdev
1
13
Had a great time watching the Chill Stream with Chai aur Vidyst ☕📷
Always fun to see the tech community come together like this!
@ChaiCodeHQ @Hiteshdotcom @vidystdotcom
We had 1 month, 5 team members, and full confidence that we'd finish our Java project early.
Now it's the night before viva and we're speedrunning the entire syllabus of panic. 💀😭
31
build projects, break things, fix them, and explore edge cases. That’s where the real learning happens. 🚀
1
31
Code doesn’t always have to wait for one task to finish before moving to the next.
Learning about XMLHttpRequest, fetch(), Promises, and async/await helped me understand how JavaScript handles time-consuming tasks, like communicating with a server. ☕
1
24
recently noticed how beautiful the frames and posters of "Swades" are. The colours, the blue skies, the simplicity of it all.
There's something about this film's visuals that just feels right.
1
6
learning: Async JavaScript ☕️
- javaScript is single-threaded by default, executing code on a Call Stack.
- the JavaScript engine runs within a runtime (browser/node.js), which provides APIs for asynchronous operations.
1
1
32
an API allows two applications to communicate.
clients send requests to endpoints using HTTP methods like GET, POST, PUT, and DELETE to perform CRUD operations.
the backend processes the request and sends a response.
12
explored web development a bit more.
made a small to-do app and worked with localStorage, DOM, events, and a basic API using Node.js.
also got some hands-on experience with GET and POST requests.
14
building something taught me two things:
- .env stores API keys and passwords outside your code.
- .gitignore tells Git not to commit those files.
.env protects secrets. .gitignore helps keep them off GitHub.
1
26
Built an HTTP server in C from scratch.
No frameworks. Just sockets, TCP, and pain.
Handles clients, parses HTTP, routes URLs and serves files.
Turns out every web framework is just this…
plus layers of abstraction and a lot of polish.
#SystemsProgramming #Networking
1
42







