Mohit Santosh

41 posts

Mohit Santosh

Mohit Santosh

@MonkeCodes

Aspiring Developer :)

Katılım Nisan 2022
26 Takip Edilen14 Takipçiler
Mohit Santosh retweetledi
Shalini Tewari
Shalini Tewari@maybeshalinii·
HOW TO STRUCTURE YOUR BACKEND CODE IN NODE.JS(express.js). [with explanation] 📁 ├── 📄 app.js ├── 📁 bin ├── 📁 config ├── 📁 controllers │ ├── 📄 customer.js │ ├── 📄 product.js │ └── ... ├── 📁 middleware │ ├── 📄 auth.js │ ├── 📄 logger.js │ └── ... ├── 📁 models │ ├── 📄 customer.js │ ├── 📄 Product.js │ └── ... ├── 📁 routes │ ├── 📄 api.js │ ├── 📄 auth.js │ └── ... ├── 📁 public │ ├── 📁 css │ ├── 📁 js │ ├── 📁 images │ └── ... ├── 📁 views │ ├── 📄 index.ejs │ ├── 📄 product.ejs │ └── ... ├── 📁 tests │ ├── 📁 unit │ ├── 📁 integration │ ├── 📁 e2e │ └── ... ├── 📁 utils │ ├── 📄 validation.js │ ├── 📄 helpers.js │ └── ... └── 📁 node_modules Here's a brief explanation: app.js It's like the control centre of your web application. It's where you set up and manage everything. bin Think of this as a place for starting your web server. It's where you have scripts that make your website work. config These are like settings for your website, such as where your database is or how your website should behave. controllers This is where you put the brains of your website explains the name controllers. Each file here handles a different part of your site, like customer stuff or product stuff. middleware Imagine these as helpers that help your website do things like checking if you're logged in or keeping a record of what people do on your site. models This is where you describe what your data looks like. If your website is a store, this is where you say what a product is or what a customer is. routes These are like the paths to different parts of the website. If the website is a city, these are the streets and highways. public Think of this as your storage room for things everyone can see, like images, styles, and scripts. views If your website is like a book, these are the pages. This is where you put together what people see on the screen. tests These are like exams for your website to make sure it works correctly. You create different kinds of tests to check different parts of your site. utils These are like handy tools you use to make your website better, like checking if someone's email is valid or formatting dates nicely. node_modules This is like your toolbox filled with tools (libraries and code) that you use to build your website. It's automatically filled with things your project needs. This organized structure helps you build and manage your website in a neat and organised way, making it easier to understand and work on, especially when your project gets bigger and more complex and you have to make changes very often. I am not saying that this is the only or the best way, this is what I usually follow and thought about sharing it.
English
241
1.8K
9.8K
1.1M
Mohit Santosh retweetledi
Rishabh Bhatnagar
Rishabh Bhatnagar@Rish_Bhat·
Maybe sinking was the only option. Indeed, it is a dark dark day. But it's time we got FIFA on our side and clear the mess we're in. This doesn't have to be the end of something, but rather a chance to start afresh. The serious misgovernance issues have to be dealt with.
English
34
282
3.3K
0
Mohit Santosh
Mohit Santosh@MonkeCodes·
Very Hypocritical of me to speak about optimization and show off a very poorly optimised web page😅 It was my first Project after starting Web Dev last year, thoroughly enjoyed it. Here it is with a new patch of paint🚀. #webdev #Web3 #Developer #webdevelopment
English
0
0
3
0
Mohit Santosh
Mohit Santosh@MonkeCodes·
Was trying to study DSA for college placements in the last few months , I learnt how important it is for your code to be well optimised🚀 Was good to be back with development today as I updated my last year's Prediction Page for the new Football Season 2022-23predictions.netlify.app
English
2
1
5
0
Mohit Santosh
Mohit Santosh@MonkeCodes·
@FuelerHQ The funny thing is I have my Web X.0 examination soon, and there's typescript in the syllabus
English
0
0
2
0
Hussain
Hussain@its_mebuddy·
I want someone to teach me my end sem subject's the way shark tank judges turned and explained financial and startup terms😭😭😭😭 #exam #SharkTank
English
1
0
3
0
Mohit Santosh
Mohit Santosh@MonkeCodes·
Thanks @DeepankarBhade for sending me the invite to @Cron 😭😭, here's attempt numero 293 at getting life organised🚀
Mohit Santosh tweet media
English
1
0
11
0
Mohit Santosh retweetledi
Fouzia Faiz
Fouzia Faiz@fouzia_faiz·
Looking for a remote Web Developer job? Here is the list of websites to find them: 🔶 remotive .io 🔶 remoteleads .io 🔶 angel .co/jobs 🔶 justremote .co 🔶 javascriptjob .xyz 🔶 flexjobs .com 🔶 remoteok .io 🔶 stackoverflow .com/jobs 🔶 producthunt .com/jobs 🔶 jobs .github
English
27
259
771
0
Mohit Santosh retweetledi
RazeGraphics7
RazeGraphics7@razegraphics7·
New Render 😎 ⛰ Like and RT 😊
RazeGraphics7 tweet media
English
1
3
5
0
Mohit Santosh retweetledi
Harsh Makadia
Harsh Makadia@MakadiaHarsh·
The best productivity system: 1. 4 hours of deep work 2. 30 mins of walk 3. 30 mins of mediation / exercise 4. 30 mins of reading 5. 30 mins of writing 6. 7+ hours of sleep The more you invest in these, the more successful you become.
English
38
233
1.2K
0
Mohit Santosh retweetledi
Swapna Kumar Panda
Swapna Kumar Panda@swapnakpanda·
Learn any Data Structure in 6 simple steps ⇩
English
47
244
1.1K
0
Mohit Santosh retweetledi
Insha
Insha@Insharamin·
I gathered 10 great tools for web developers. Save 100+ hours on researching. 🚀 A Thread 👇🏻 ↓
English
81
525
1.9K
0
Mohit Santosh retweetledi
Faheem Khan
Faheem Khan@faheem_khan_dev·
5 JavaScript one-liners you should know. A thread 🧵
English
32
164
850
0