- Next.js v14 for the front end
- Next Auth/Next UI/App Router
- Prisma Sqlite connect with local database
- TailwindCSS for Style
- Using Monaco-editor/react
- Create a prisma client to access database
- Create a form in SnippetCreatePage
- Define a Server Action function that will be called when the form is submitted/change data in next app
- Validate user input in Server Action when create a new Snippet
- Redirect the user to Home Page that lists all the snippets created
- Create Client component to passing client side data to render out on Server side component
- Using @Monaco-editor/react Library to implement code snippet