Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jefferson1104/boilerplate-reactjs

Customized boilerplate for ReactJS projects with Vite, TypeScript, Styled-Components, Jest, featuring Prettier, ESLint, OAuth, and browser storage.
https://github.com/jefferson1104/boilerplate-reactjs

firebase jest react-testing-library reactjs styled-components typescript vitejs

Last synced: 2 days ago
JSON representation

Customized boilerplate for ReactJS projects with Vite, TypeScript, Styled-Components, Jest, featuring Prettier, ESLint, OAuth, and browser storage.

Awesome Lists containing this project

README

        



REACTJS BOILERPLATE



technology
technology
technology
technology
technology
technology

## :memo: About project

This is a boilerplate to be used as a foundation for front-end projects, featuring Vite, TypeScript, ReactJS, and Styled-Components as main technologies. It includes custom configurations with Prettier and ESLint for code standardization and organization. Additionally, it provides examples of componentization, usage of ReactJS library hooks, custom hooks, OAuth authentication, data persistence using browser storage mechanisms, unit testing examples, among other features. This comprehensive kit will provide a solid base to efficiently start ReactJS projects with consistency.

## :rocket: Technologies

- [Vite](https://vitejs.dev/)
- [ReactJS](https://pt-br.reactjs.org/)
- [TypeScript](https://www.typescriptlang.org/docs/)
- [Jest](https://jestjs.io/pt-BR/)
- [react-testing-library](https://testing-library.com/docs/react-testing-library/intro/)
- [styled-components](https://styled-components.com/)
- [firebase](https://firebase.google.com/docs)
- [plop](https://plopjs.com/)
- [eslint](https://eslint.org/)
- [prettier](https://prettier.io/)

## :cyclone: Run this project

```bash
# Creating your project using this boilerplate
$ npx degit jefferson1104/boilerplate-reactjs PROJECT_NAME

# Project directory
$ cd PROJECT_NAME

# Install dependencies
$ npm install

# Run in development mode http://localhost:5173/
$ npm run dev
```

## Commands

- `npm run dev`: start app in development mode in `http://localhost:5173`
- `npm run build`: create the production build version
- `npm run preview`: starts a simple server with the build production code
- `npm run lint`: runs ESLint to test all components and pages
- `npm run test`: run Jest to test all components and pages
- `npm run test:watch`: run Jest in watch mode
- `npm run generate`: create the component structure in an automated way

## 🎨 Screenshots


screenshot
screenshot
screenshot
screenshot