⌨️Пишем API на JavaScript + NodeJS
NodeJS — выбор большинства стартапов при разработке серверной части приложений, так как код пишется быстро, а производительность большая. А эти туториалы хорошо вам помогут в изучении этой мощной технологии.
1. Устанавливаем node правильно
[8:14]
2. Установка Express. Добавляем базовый роутинг
[11.13]
3. Реализуем добавление и обновление данных
[10:13]
4. Подключение базы данных к express
[10:43]
5. Реализуем добавление и обновление исполнителей в базе данных
[9:38]
6. Модели и контроллеры в node
[13:22]
Перейти к плейлисту
#javascript#node
Asinxron JavaScript || Promise
JavaScriptda Promiseni new Promise() konstruktoriga argument sifatida o'zida resolve va reject argumentlarini qabul qilgan fungsiya berish bilan yaratamiz.
const myPromise = new Promise((resolve, reject) => {
let age = 21;
setTimeout(() =>{
if(age > 20)
resolve("Done processing")
else
reject("Error processing")
},2000)
})
Promisedan qaytgan malumotlarni then va catch methodlari bilan tutib olib qayta ishlaymiz
myPromise.then((res) =>{
console.log(res)
}).catch((err) =>{
console.log(err)
})
Agar promise fulfilled muvaffaqiyatli bo'lsa malumotlarni then methodi bilan, agar xatolik rejected bo'lsa unda catch methodida xatolikni tutib olishimiz mumkin!
#javascript#docs
☑️@valisherbotirov
#javascript#cheatsheet
👨💻 JavaScript CheatSheet 1-qism
Yana qaysi texnologiyalar bo‘yicha Cheat Sheet📄 yuklashimizni xohlaysiz? Fikrlaringizni izohlarda qoldiring! 👇
💻@dasturlash_hayoti— dasturchilar va dasturlash hayotini yoritib boradigan loyiha!
#JavaScript#Beginners
🧰
JavaScript for Beginners
The JavaScript for Beginners course aims to teach students who are new to JavaScript the fundamentals of the programming language. The course is taught by Darragh O’Neill a Udemy Instructor who has has received excellent reviews on the platform and has at present a 4.7 star rating.
The course also contains several mini-projects and challenges so we can apply the JavaScript syntax that we have learnt. The course has overs 13+ hours of content and by the end of this course students will be familiar with all the fundamental aspects of the JavaScript language including data types, variables, let, const var, arrays, objects, functions, manipulating the DOM and more.
🔗Link
-----
Canal principal:@repo_science
Cupones: @freecoupons_reposcience
-----
A collection of free single-purpose online tools for web developers.
https://tiny-helpers.dev/
Follow @dragonmachinedreams
#programming#webdev#javascript
Генеративная серия «Risonanza» Алессандро Фьоре (Whitekross). Простые минималистичные формы сплетаются в уникальных цветовых ритмах, которые создает алгоритм художника-программиста. Этот проект исследует, как сложное рождается из самого простого: абстрактное и экспрессионистское искусство - из набора простых линий и форм, созданных компьютером.
#digitalart#javascript#абстракционизм
▫️Sintonia Digital Art▫️