-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Tutorial
In modern web applications, the frontend is the part of the application that users directly interact with — the visual interface, buttons, layouts, and everything you see on a website or web app. It communicates with the backend, which handles data processing, storage, and business logic.
HTML is the skeleton of web pages. It defines the structure and content — headers, paragraphs, links, images, etc.
CSS adds style to HTML — layout, colors, fonts, responsiveness, animations, and more.
JavaScript brings interactivity to the web. It's used to handle logic like form validation, dynamic content updates, animations, API requests, and more.
We're building our frontend with:
- React – UI framework
- TypeScript (TSX) – JavaScript + type safety
- Vite – Build tool for fast development
- Tailwind CSS – Utility-first CSS framework
Let's break these down:
Tool | Description |
---|---|
React | Component-based UI library |
TypeScript (TSX) | Superset of JS with types, safer coding |
Vite | Fast dev server + bundler |
Tailwind CSS | Utility-based styling with minimal custom CSS |
React is a popular JavaScript library for building fast and interactive user interfaces using a component-based approach. Developed by Meta, it allows developers to build reusable UI components and manage state effectively.
TypeScript is a superset of JavaScript that adds static typing. It helps catch errors during development and makes code more maintainable. TSX is TypeScript's version of JSX, allowing type-safe React components.
Vite is a modern build tool that provides a faster and leaner development experience. It uses native ES modules and offers features like instant server start, lightning-fast HMR (Hot Module Replacement), and optimized builds.
Tailwind CSS is a utility-first CSS framework that lets you build custom designs without leaving your HTML. It provides low-level utility classes that let you build completely custom designs without ever leaving your HTML.
-
Install Node.js Install from nodejs.org. This gives you both
node
andnpm
. -
Create a Vite Project
npm create vite@latest
Choose:
- Framework: React
- Variant: TypeScript
-
Install Tailwind CSS Follow the official Tailwind + Vite Installation Guide
I created a simple frontend application with a few UI elements. You can:
-
💻 View the code: GitHub Repo
-
🔗 See it live: Live App on Vercel
Feel free to clone the repo, explore the code, and check out the comments for more insight into how things are built.


-
Use Cases:
- Template
- Scenario 1: Community Sharing
- Scenario 2: For a Dietitian
- Scenario 3: Maintaining a Personal Inventory (as a Producer)
- Scenario 4: Proposing a Product and Adding a Recipe to Weekly Meal Plan
- Scenario 5: Creating a Meal Plan
- Scenario 6: Resetting Password
- Scenario 7: Moderator Actions
- Scenario 8: Searching for and Proposing a New Food Item
- Scenario 9: Budget-Conscious Grocery Shopping
- Scenario 10: Creating a New Store
- Scenario 11: User Profile Management
- Git: In a Nutshell
- Example GitHub Repositories
- System Modeling & UML
- Frontend Tutorial
- Frontend Roadmap
- Frontend Styling Guide
- Docker Summary
- Writing Endpoints
- Yusuf AKIN
- Arda SAYGAN
- Fatih Furkan Bilsel
- Berk GOKTAS
- Berkay BILEN
- Yusuf Anıl YAZICI
- Taha Topaloglu
- Nuri Basar
- Onur Kucuk
- Hasancan Keles
- Mete Damar