filmov
tv
Setup Nodejs | Create the first API and database connection

Показать описание
In today’s video, we prepared the Nodejs environment using typescript. A basic structure that you can also use for any other project.
To manage SQL queries we are using Prisma ORM. The library also generates migration and schema types for the codebase.
In this demo application, you will create a simple Note model, we also create API routes to list all the items and create a new record.
The same structure will be used in the next video, where we are going to implement the user authentication and protect the routes.
Challenge for you to build the delete and update functions, let me know how it goes.
00:00 Intro
00:10 Setup Nodejs structure with Express + Typescript
05:56 Installing Prisma
07:36 Creating the first DB table
11:30 Creating a Controller
12:28 Fetching notes data using prisma
14:10 Inserting data using prisma studio
15:03 Inserting data using API POST
18:43 Final words
—
—
#nodejs #api #prisma
To manage SQL queries we are using Prisma ORM. The library also generates migration and schema types for the codebase.
In this demo application, you will create a simple Note model, we also create API routes to list all the items and create a new record.
The same structure will be used in the next video, where we are going to implement the user authentication and protect the routes.
Challenge for you to build the delete and update functions, let me know how it goes.
00:00 Intro
00:10 Setup Nodejs structure with Express + Typescript
05:56 Installing Prisma
07:36 Creating the first DB table
11:30 Creating a Controller
12:28 Fetching notes data using prisma
14:10 Inserting data using prisma studio
15:03 Inserting data using API POST
18:43 Final words
—
—
#nodejs #api #prisma
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
004 #nodejs - How to use node js with vs code
Set up a Node & Express Server in 1min | Javascript Backend Tutorial 2023
How To Create Node js Project in Visual studio code | Node Js Tutorial
Your First Node.js Web Server
Node.js Tutorial for Beginners: Learn Node in 1 Hour
Node.js Crash Course Tutorial #1 - Introduction & Setup
RESTful APIs in 100 Seconds // Build an API from Scratch with Node.js Express
Node JS Tutorial in Hindi #27 | Render HTML File in Node.js
Learn Node.js in 30 Seconds #shorts #nodejs
How to Use NPM and Node.js to Run Your JavaScript Code ?In VsCode #webdevelopment #npm #nodejs
Install Node.js on Windows in Under a Minute!
What is Nodejs?
How To Create a Node.JS Project In Visual Studio Code
How To Build API Endpoints NodeJS #5minutefridays node rest api tutorial for beginners
Quickly Setup NodeJS // Get started on your FullStack developer journey 🚠
How to Install Node.js and npm on Windows
Node.js JWT Authentication #authentication #jwt #api #nodejs #tutorial #javascript #coding
How to Send SMS with Node.js - Tutorial
Create server in nodejs using express.
Node.js: Install .js project as a Service | Windows Tutorial
Build a Professional Node.js Contact Form in 10 Minutes
First Node.js Web Server | Node.js Tutorial for Beginners #nodejs
How to create Dockerfile #docker #nodejs
Комментарии