Start coding a react application
If you are working locally instead of using codespaces or gitpod, please follow local installation steps and come back to this part of the readme.
- Install the packages with
$ npm install
. - Run the webpack server with
$ npm run start
You can update the styles/index.css
or js/index.js
depending on your needs.
Add more files into your, ./src/js/components
or styles folder as you need them.
Download the boilerplate using git
$ git clone https://github.com/4GeeksAcademy/react-hello.git
$ cd react-hello
This boilerplate is 100% compatible with the free github pages and vercel hosting.
It takes just 2 minutes to deploy, click here to start the process.
- Automatic Code Formatting: Use of Prettier for automatic code indentation and formatting.
- Error reporting: Use of eslint for better error reporting.
- Hot Deploy: Use of Webpack Development Server for hot deploy and live reload.
- One-command publish of the code to github pages with
npm run deploy:github
. - Babel 7 (really fast).
This template was built as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sanchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.
You can find other templates and resources like this at the school github page.