Overview
Learn how to implement CRUD operations in a Remix application, focusing on the Create functionality. Explore Remix routing, form submission techniques using HTML and JavaScript, data access methods, validation processes, and database interaction with Prisma. Dive into topics such as adding input components, collecting and validating form data, inserting information into a database, implementing navigation and cancel buttons, and preventing SQL injection attacks. Gain practical insights into building a real-world database application using Remix and Prisma in this comprehensive 42-minute tutorial.
Syllabus
- Introduction
- Starting with CRUD: Create
- Adding input components HTML Form
- Submitting the form
-Importing form from Remix
- Collecting data from form entries + validation
- Inserting data into the database
- Redirect to the home page
- Getting to Create page + navigation
- Adding a cancel button
- Preventing SQL Injection Attacks
- Outro & What’s Next
Taught by
Linode