Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RI
RicardoDev @lemmy.world
Posts 1
Comments 4

Vite React Boilerplate - A Production Ready Scalable Starter Template

github.com GitHub - RicardoValdovinos/vite-react-boilerplate: A production ready, scalable starter template for Vite + React

A production ready, scalable starter template for Vite + React - GitHub - RicardoValdovinos/vite-react-boilerplate: A production ready, scalable starter template for Vite + React

GitHub - RicardoValdovinos/vite-react-boilerplate: A production ready, scalable starter template for Vite + React

Hello everyone,

I’ve created this starter project for creating production ready web apps in Vite and React that I hope some might find useful. This template came about as a necessity to provide some standardization across new projects at work. A few of the initial goals when creating this project were to:

  • Reduce setup time
  • Standardize codebase with ESLint and Prettier
  • Improve commit messages with tools like husky, commitizen and commitlint
  • Improve codebase maintainability and scalability by providing a reasonable folder structure
  • Simplify React Component development through use of tools like Storybook
  • Improving codebase stability with unit and E2E tests via Vitest + React Testing Library and Playwright respectively
  • Ease the deployment process by providing a simple starter Dockerfile

In addition to all the aforementioned goals, I also wanted to use modern tools such as React Query + Zustand for state management, React Hook Form + Zod for creating and validating forms, Tailwind CSS for building out UI’s, etc.

I tried to cover everything I, and others, might need but recognize that everyones requirements are different. Luckily, this isn’t a framework so removing unneeded packages or adding new ones is as simple it would normally be. The project itself doesn’t come with a demo as its purpose is to simply provide a foundation for any new projects you might have in mind.

Feedback and questions are always welcome and I appreciate anyone willing to checkout this project.

Thank you

0
Lemmy is so good right now for no particular reason
  • Other way around most of the time. Instances choose who to defederate with. If you view all posts instead of local You’ll see posts across the fediverse so long as the instance owner hasn’t defederated. Defederation is also a pretty nuclear option so it’s generally not taken lightly.

  • RiF was my first Reddit app ever and stayed an app I kept installing on new phones over the years
  • An instance is basically a Lemmy “app”. These “apps” or instances of Lemmy are being run on some server somewhere. Could be your own server you set up or a pre-existing one like lemmy.world setup by someone else. Each instance or “app” is also connected to every other Lemmy instance unless explicitly blacklisted. This why you sometimes see urls in peoples user names and communities. They’re posting from someone else’s Lemmy server (not the one you’re logged in to).

    The idea is if one instance goes down, Lemmy as a whole will continue to run so long as one is still running. It also allows people who to host their own for whatever reason they may have, whether that be differences of opinion with existing instances or simply because they want their own set of communities.

  • Mental Outlaw just made a video about Lemmy
  • Probably not since they’re tankies. Unless they explicitly kept the conversation to tech don’t think it’d be great idea if we were essentially viewed as a left wing version of truth social or voat or something similar. Despite the explanation of federation they’d probably just see lemmy as a platform led by genocide deniers and Marxist Leninist supporters with its users being the same.

  • POLL - Will you stay on lemmy?
  • Tell me about it. I was going to make a iOS client myself but with 6 others having the same idea I figured it’s probably best not to pollute the client pool and keep mine for my own uses 🤷‍♂️

  • Reddit's gaslighting against the Fediverse is getting desperate
  • If you’ve worked in IT for any period of time you’d know that all generations are equally hopeless. Tech nerds are in the minority in each generation.

    Also do you think boomers were born knowing how to program VCR’s (lol) or perhaps they had to use a guide? Lol