awesome-react-app

1.0.4 • Public • Published

Awesome React App

GitHub Stars GitHub Issues GitHub Issues GitHub Issues GitHub Pull Requests Gitter PRs Welcome

Inside Client Logo

Always the latest version of create-react-app with awesome configurations (linter, commit linter, husky, .editorconfig, etc)

Sponsor

Quick Overview

npm install -g awesome-react-app
 
awesome-react-app my-app
cd my-app/
npm start

Then open http://localhost:3000/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build.

Get Started Immediately

You need to have create-react-app installed.

You don’t need to install or configure tools like Webpack or Babel.
They are preconfigured and hidden so that you can focus on the code.

Just create a project, answer the hooks questions and you’re good to go.

Getting Started

Installation

Install it once globally:

npm install -g awesome-react-app

You’ll need to have Node >= 6 on your machine. You can use nvm to easily switch Node versions between different projects.

You’ll need to have Create React App on your machine. Awesome React App is a wrapper from Create React App with some cool stuff (linter, commit linter, husky, .editorconfig, etc).

Creating an Awesome App

To create a new app, run:

awesome-react-app my-app
cd my-app

It will create a directory called my-app inside the current folder.
Inside that directory, you will be asked for add some configurations (eslint, editorconfig) and generate the initial project structure and install the dependencies.

Once the installation is done, you can run some commands inside the project folder:

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

npm test or yarn test

Runs the test watcher in an interactive mode.
By default, runs tests related to files changed since the last commit.

npm run build or yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
By default, it also includes a service worker so that your app loads from the local cache on future visits.

Your app is ready to be deployed.

User Guide

You can see the Official Create React App User Guide for more information on different topics.

Contributing

We'd love to have your helping hand on awesome-react-app! See CONTRIBUTING.md for more information on what we're looking for and how to get started.

Package Sidebar

Install

npm i awesome-react-app

Weekly Downloads

2

Version

1.0.4

License

MIT

Last publish

Collaborators

  • henriqueandrade
  • jvcjunior
  • jouderianjr