Continuing our Building a Web App in JavaScript tutorial series by learning how to use, store and retrieve information from a SQLite database in Node. Also introduces ESModule import statements and Promises.
Part 1 goes over setting up the project: • Node.js Web App in 15 Minutes: forms,...
Part 3 adds a registration page and goes over hashing passwords • How to build a user registration syst...
Directory
0:00 Introduction
0:44 Enabling ESModules with `esm`
2:45 Installing SQLite (our database)
4:18 What is a Promise?
6:54 Creating our database with a migration
9:35 Retrieving a messages from the database
13:07 Storing new messages in the database
SQLite Studio: https://sqlitestudio.pl/
The code I wrote is available on GitHub: https://github.com/chuckdries/message...
Смотрите видео How to use a SQLite Database with Nodejs (web app tutorial part 2) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Chuck Dries 31 Июль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,638 раз и оно понравилось 148 людям.