Skip to content

FelixFern/React-Starter-Project

Repository files navigation

react

⚛ Felix's React Starter Project - Vite + React + Typescript with SWC

This template provides a minimal setup to get React working in Vite to build your app with ease, this template provides you with how I usually structure my React project directories and preconfigured Prettier to give you good DX when developing a frontend application. This project also includes Shadcn UI and Tailwind CSS to help you build your UI as quickly as possible.

image image

Pre-requisite

  • Node.js v18.16 and up with package manager (npm, yarn, or pnpm)
  • Biome.js VSC Extension (for VS Code User)

Dependencies Used

How to use

  1. Click the "Use this template" button and select "Create a new repository", after that you can change the name of the project as you like
Screenshot 2024-02-07 at 20 35 32

or, you can directly clone this repository using this command,

git clone https://github.com/FelixFern/React-Starter-Project
  1. Then, install all the needed dependencies using your desired package manager,
pnpm install
  1. After that, you can start using this template and edit as you like! and to start the project use
pnpm run dev

🟩 Features / Examples Included

  1. Fetching Data Example ✅
  2. Data Pagination Example ✅
  3. Routing ✅
  4. Tanstack Router Params Usage ✅
  5. Custom Hooks ✅
  6. Biome.js for Linter ✅
  7. CI for Linter with Github Actions ✅

🟧 Next Improvement

  1. JWT Auth Session Hooks
  2. Data Table Example
  3. Form Example
  4. Tanstack Path Params Usage

If you have any inputs or suggestions, add them as an Issues and we'll discuss them!

🗒️ Credits

Pokemon APIs by Paul Hallet (used for data fetching example)

🙎‍♂️ Maintained by