Page 7: Building a web application

Oat Wongsajjathiti
2 min readMar 26, 2023

--

Sharing my 3 days of work to build the UI for Hirable.

Stack

  • Next.js for full-stack React framework. Using the beta version 13 with React Server Components
  • React
  • Typescript
  • OpenAI API for generative AI assistant
  • TailwindCSS for styling
  • Vercel for deployment

Day 1:

Starter UI for create-next-app

Day 2:

Screenshare of how I used AI to help design Hirable landing page
  • Initially wanted to use basic LESS or SASS, or https://stitches.dev which is a CSS-in-JS library I used at work. Never used Tailwind but heard good things, so chose that instead.
  • Started coding. Realized I want to be faster/spending too much time writing boring data-binding and a basic component library. It’s 2023, let’s use AI.
  • Learned more about Github CoPilot. Got the 60-day trial. Added the VSCode plugin.
  • Tried it out. This is a game-changer. Literally 2x’ed my speed. It can understand my code, recommend common patterns and references my other files, and even guess my types correctly. It knows I am using Tailwind and suggest Tailwind classes for me as well. Here is an example:
Github CoPilot 2x-ing my coding speed

Day 3:

  • Built the personal info tab of the editor. This page would contain personal information, bio, education, experiences, skills, and hobbies.
  • We will populate this on the read-only document on the right, with a layout similar to a resume. We will use localstorage to persist data for now until we add a session and DB connection.
Figma mock
  • Made some iterations on design based on speed. This is what it looks like right now

The next step is to integrate with OpenAI to write the content. See y’all next week!

--

--

Oat Wongsajjathiti
Oat Wongsajjathiti

Written by Oat Wongsajjathiti

Chemical engineer turned self-taught developer. Artist, dancer and aspiring creator.

No responses yet