how to developed a simple form in shiny

...
hi there,

i want to make two input text
first name
and last name
and a button "save"
when user enter his/her first and last name and click on save button the data will store in sqlite database file.
here is my code

library(shiny)
library(DBI)

mydb <- dbConnect(RSQLite::SQLite(), "my-db.sqlite")

Define UI for application that draws a histogram

ui <- fluidPage(

# Application title
titlePanel("Old Faithful Geyser Data"),

# Sidebar with a slider input for number of bins 
sidebarLayout(
    sidebarPanel(
        
        textInput("fname","Enter you First Name")
        textInput("lname","Enter you Last Name")
     
      
       
        
    )

what should i write more???

thank you,
rao