Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Nodejs Backend Development: Things to care about
Search
Burhanuddin Ahmed
March 03, 2023
Programming
0
69
Nodejs Backend Development: Things to care about
Burhanuddin Ahmed
March 03, 2023
Tweet
Share
More Decks by Burhanuddin Ahmed
See All by Burhanuddin Ahmed
Faster development with no-bundle dev tools
burhanahmeed
0
33
Berkontribusi ke Open Source
burhanahmeed
0
65
Javascript and SEO, So?
burhanahmeed
0
190
Other Decks in Programming
See All in Programming
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
CSC509 Lecture 11
javiergs
PRO
0
180
Outline View in SwiftUI
1024jp
1
320
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
870
Contemporary Test Cases
maaretp
0
130
Click-free releases & the making of a CLI app
oheyadam
2
110
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Jakarta EE meets AI
ivargrimstad
0
580
Ethereum_.pdf
nekomatu
0
460
役立つログに取り組もう
irof
28
9.6k
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
Jakarta EE meets AI
ivargrimstad
0
510
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
4 Signs Your Business is Dying
shpigford
180
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
How STYLIGHT went responsive
nonsquared
95
5.2k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Embracing the Ebb and Flow
colly
84
4.5k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
The Cult of Friendly URLs
andyhume
78
6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
A Tale of Four Properties
chriscoyier
156
23k
A better future with KSS
kneath
238
17k
Transcript
Things we need to care about when developing back-end service
@BurhannAhm
Intro
[email protected]
https://burung.bio.link - Fullstack Engineer @ TabSquare.ai (Delivery Hero)
- Co-founder @ stealth startup - SBYJS organizer
Disclaimer - Opinionated presentation - All is based on my
POV and my personal experience
None
Code Structure Framework like Express and Fastify has no fixed
structure. - MVC - Model, View, Controller
None
Use ORM - Sequelize - Knex - TypeORM
None
None
Be consistent - camelCase - snake_case - PascalCase - UPPER_SNAKE_CASE
- Space size - indentation
Use .env The dotenv helps to keep sensitive information secure
and allows you to manage and use these variables in a consistent and organized way.
Use Constant
None
Less DB operation
Use linter - Airbnb style - Google style - Standard
style
Proper URL convention 1. POST /users 2. POST /users/create 3.
POST /create-user 4. POST /create_user 5. POST /create-new_user1 6. POST /CreateUserV2 7. POST /Lets-Create-new_User
Memory Leak a memory leak is an allocated piece of
memory that the JavaScript engine is unable to reclaim.
None
None
None
Testing Making sure you are confident before shipping your product.
- Unit testing - Integration testing - Jest - Mocha - Chai
None
Caching Mechanism - Less db operation - Cache invalidation headache
- Redis? Node-cache? Memory-cache?
Performance complexity BigO
None
DEV. STAG. PROD
Thank you / bedankt!