Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Basics (2018) First Steps in React Add React to a Project

Boilerplate and how to setup a simple server for react.

spent some time trying to setup a simple go to react server so i can mess around. the simplest way to setup your react server is:

npm install -g http-live-server

install the package as global so you will be prompted where to run the sv. after its installed make a folder named public and store your css, js, and html file. and then simply run live-server in the terminal while in the app.js dir. the server will run and will refresh each time updated.

for more info read here: https://www.npmjs.com/package/http-live-server hope it helps out someone :)

1 Answer