Javascript React Local Development
🕓 15 minutes
#
What you’ll learnHow to set up your local development environment for:
- Javascript React
- Run the developed component in the local development mode on your machine.
#
Prerequisites- Create a new CodeNOW component in your application.
- Use the Javascript React scaffolder.
- See the How to Create a New Application Component tutorial.
#
Prepare local development IDE- Clone code from the created git repository to your local machine.
- Use your favourite IDE. You must have:
- an installed npm package manager https://www.npmjs.com/
- To run the project in local development setup, check README.md
- For installation of the required npm modules, go to project root and run the command below
npm install
- To start the project in development mode, run the command
npm start
- The application starts in development mode on the local machine, running on default port 3000
- For installation of the required npm modules, go to project root and run the command below
- You can start your browser now and go to http://localhost:3000
#
What’s next?Now you are ready to start with some development. See the other developer manuals.