Building a scalable API with NodeJS (tutorial for beginners)

preview_player
Показать описание

In this beginner friendly tutorial, you’ll learn how to build a scalable and production-ready REST API for an ecommerce application using NodeJS, TypeScript, and Express. We’ll guide you step-by-step through essential backend tools like Drizzle for database interactions and Postgres for data storage, all while integrating Genezio to simplify deployment. Let's get started 🚀

⚛️ *React Native Mastery* is the *ONLY* course you need to Master mobile development with React Native & Expo 🚀

📚 This video includes a lot of tools and technologies, providing an excellent opportunity to learn about:
- TypeScript for safer, more maintainable code
- NodeJS for efficient, scalable backend development
- Express for handling API routes and middleware
- Drizzle for working with databases
- Postgres as a robust database solution
- Genezio for serverless deployment and scaling

*💬 Join the notJust Development gang and let's build together:*

Timecodes:
0:00 Intro and Project Overview
3:15 Genezio - the Fastest Full-Stack Cloud
5:31 Mega Project Structure: 4 Parts
6:51 Prerequisites for the Project
10:04 Setting up the Project
13:50 Installing Express
23:20 Setting up Git
34:20 Creating Product Routes and Controllers
1:08:26 Setting up the PostgreSQL Database
1:10:45 Installing and Setting up Drizzle ORM
1:37:55 Implementing CRUD operations for Products
2:12:04 Validation with Zod + Drizzle Schema
2:59:15 Setting up Authentication and Authorisation
3:49:25 Building the Proejct and Fixing "ts build"
3:56:38 Deploying the API to Genezio
4:06:52 Implementing the Orders and Order items CRUD
4:39:59 Listing the Orders
4:56:34 Outro

Disclaimer: This build is for educational purposes only. All views, opinions, and technology choices expressed in this video are my own and do not represent the views, opinions, or technology choices of any entity I have been, am now, or will be affiliated with.
#notjustdev #restapi #reactnative
Рекомендации по теме
Комментарии
Автор

Thank you for doing this. I was in your first React Native course, batch 1. I've been waiting for this one!

JS-gxvv
Автор

thank you so much, i have downloaded various courses and your video helped me finally put everything together..

enehizyosas
Автор

I'm back! It's the guy who used your twitter video for his uni project. Thanks for making such wonderful and educative content.

Asafo-AdjeiJensenKwekuSedem
Автор

Thank you for this tutorial, I'm building something a little bit bigger, but with the same intentions. I'll try to contribute back when I have my own ecommerce setup finished.

simbaclaws_youtube
Автор

Excellent! Please make more node js projects

tanjimitsolution
Автор

Need more backend only focused projects would appreciate a

creta
Автор

This is the exact thing that I was looking for

hosseinlotfi
Автор

Excellent!!, thanks a lot for sharing ...

gabrielpaez
Автор

Just curious why you called this scalable when you did not provide any testing? load testing? no load balancer? no shadow testing? Your content might be good but title is not correct in this case.
Anyways Thank you

chinmayanand
Автор

thank you. helped to get intuition on jwt and middleware. can you use this with expo api routes? it will be the most hyped yolo tech stack

treksis
Автор

Thank you for this interesting video😋, by then let me try to build UI with flutter🤩

neza_salton
Автор

Can you make a react native and MySQL tutorial

omarhassane
Автор

Hey mate nice work!
Instead of lodash, why aren't we using on less library to work with!

dogsales-io
Автор

Please make a full stack project with react or Next.js with Nest.js API.Or make only nest.js API building project For beginners to advance with typescript.

asrafullhaqporag
Автор

im just sitting in front of my pc at home learning

gabuchi
Автор

Dear Brother, This is my humble request to you that please make React Native Application using this API 🙏🙏🙏

mdsafikulislam
Автор

I wanna Know, what's best ORM in Big Projects with Express.js and Postgresql ???

darshmostafa
Автор

hello and thank you soo much for awesome video, it is really great! i am frontend developer and learing backedn at the moment and your video is really helps me.

can anybody help me? i am facing the problem of my router in index.js..., in my localport everything working fine but after deploying to genezio whenever i try to requst with genezio url i am getting only "hello world" even if the url is "/products" i am getting the same result. Ive chacked the log from genezio dashbord and url is always "/" and event.path from serverless-http is undefined. it seems that genezio in serverless side can not find "/products" and make it default url "/" or i do not know. the serverless-http version is 3. index.js and yaml file are almost exactly as on tutorial, except added "type:httpServer" as in documentation from genezio express framework. will appreciate if someone helps me.

ahrorkurban
Автор

If I use the .js fix it breaks the drizzle generate, anyoane here that found a workaround?

mihai.pistol
welcome to shbcf.ru