Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boilertown/react-nostalgia-boilerplate
Full fledged boilerplate to quickly kickstart your React applications.
https://github.com/boilertown/react-nostalgia-boilerplate
eslint front-end playwright prettier react react-boilerplate storybook testing-library typescript webpack
Last synced: 3 months ago
JSON representation
Full fledged boilerplate to quickly kickstart your React applications.
- Host: GitHub
- URL: https://github.com/boilertown/react-nostalgia-boilerplate
- Owner: boilertown
- License: mit
- Created: 2022-06-23T17:06:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T00:16:06.000Z (over 1 year ago)
- Last Synced: 2024-07-28T22:37:30.541Z (3 months ago)
- Topics: eslint, front-end, playwright, prettier, react, react-boilerplate, storybook, testing-library, typescript, webpack
- Language: TypeScript
- Homepage: https://nostalgia-boilerplate.vercel.app
- Size: 1.76 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bun - react-nostalgia-boilerplate
README
♨️ React Nostalgia Boilerplate
A React boilerplate with opinionated setup to help you quickly kickstart your applications.
## Introduction
**react-nostalgia-boilerplate** is the first production-ready boilerplate from [Boilertown][boilertown-url] creations.
The goal of this boilerplate is to maximize your effectiveness by present you:
- 🚀 A good application structure which is simple, scalable and easy to maintain.
- 🔥 Give you best and hot tools in the ecosystem to manage the workflows.
- ⚡️ Easy to customize your workflows. You will have all the granular control over all the operations.
- 🧑💻 Improve your Developer eXperience (DX). You can just focus on coding and press Save button.This setup is _opinionated_ as it is based on my experience of working with difference React projects. It works very well to me and my team and I hope I can make you feel the same.
## The Setup
- [React v18][react-url]
- [React Router v6][react-router-url]
- [TypeScript][typescript-url]
- UI development with [Storybook][storybook-url]
- Unit test with [Testing-library][testing-library-url]
- E2E testing with [Playwright][playwright-url]
- Linting with [Eslint][eslint-url] and code formatting with [Prettier][prettier-url]
- Develop and build production with [Babel][babel-url] and [Webpack][webpack-url]## Get Started
- Use [Boilertown](https://github.com/boilertown/create-boilertown) CLI.
```sh
# npm
npm create boilertown@latest -- -b react-nostalgia-boilerplate# yarn
yarn create boilertown -b react-nostalgia-boilerplate# pnpm
pnpm create boilertown -b react-nostalgia-boilerplate# bun
bun create boilertown/react-nostalgia-boilerplate [project-name]
```- Click the green "Use this template" button to generate a new repository with the same structure and files.
[Ref: Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)
## Development
- Run the app in development environment:
```sh
pnpm dev
```- Run components unit tests with jest:
```sh
pnpm test
```- Run e2e tests with playwright:
```sh
pnpm test:e2e
```- Build the app in production mode:
```sh
pnpm build
```- Run the app in production mode. It uses static files from `build` folder.
```sh
pnpm serve
```## GitHub Actions
This boilerplate uses [GitHub Actions](https://github.com/features/actions) to perform unit test on Pull Request. You can see the details at [pr-test.yml](./.github/workflows/pr-test.yml).
## Contributing
**react-nostalgia-boilerplate** ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.
## Inspirations
- [react-boilerplate][react-boilerplate-url]
- [bulletproof-react][bulletproof-react-url][boilertown-url]: https://github.com/boilertown
[react-url]: https://beta.reactjs.org
[react-router-url]: https://reactrouter.com
[typescript-url]: https://www.typescriptlang.org
[babel-url]: https://babeljs.io
[webpack-url]: https://webpack.js.org
[storybook-url]: https://storybook.js.org
[eslint-url]: https://eslint.org
[prettier-url]: https://prettier.io
[playwright-url]: https://playwright.dev
[testing-library-url]: https://testing-library.com
[react-boilerplate-url]: https://github.com/react-boilerplate/react-boilerplate
[bulletproof-react-url]: https://github.com/alan2207/bulletproof-react