Перейти к содержимому

12.Build a Full-Stack “Today I Learned” App with Next.js 16 | Scripts Folder & Seed Data

AngelicDev

0:00 / 0:00

12.Build a Full-Stack “Today I Learned” App with Next.js 16 | Scripts Folder & Seed Data

5 просмотров · 6 дн. назад
AngelicDev
29 подписчиков
5 просмотров · 6 дн. назад
🌱 Build a Full-Stack “Today I Learned” App with Next.js 16 | Scripts Folder & Seed Data Welcome to the next part of our “Today I Learned” full-stack application! 🚀 In this video, we focus on creating a scripts folder and adding seed data to our SQLite database. Instead of manually inserting facts one by one, we'll create a script that allows us to quickly populate our database with sample data. This makes development and testing much easier as our application grows. 🗄️🔥 🌱 What we'll cover: 📁 Creating and organizing the "scripts" folder 🌱 Understanding database seeding 🗄️ Creating seed data for our SQLite database 📝 Adding sample facts and categories ⚙️ Creating a database seed script 🚀 Running the seed script from the terminal 🔄 Populating the database automatically 🧪 Using seed data for development and testing 🧹 Keeping development scripts separate from application code 🔍 Verifying the seeded data in SQLite 🛠️ Tech Stack ⚛️ Next.js 16 ⚛️ React 🎨 Tailwind CSS v4 🗄️ Native SQLite 💻 JavaScript 🟢 Node.js This video is another step in building our complete “Today I Learned” application. By adding database seeding, we can easily prepare realistic data for testing features such as search, filtering, pagination, and voting. 🚀🔥 👍 Like, Subscribe & Turn on Notifications 🔔 to follow the complete project! #NextJS #NextJS16 #SQLite #DatabaseSeeding #SeedData #ReactJS #TailwindCSS #TailwindCSSv4 #FullStack #JavaScript #NodeJS #WebDevelopment #TodayILearned #Coding