-
Notifications
You must be signed in to change notification settings - Fork 1
React.js Local Development Setup
Oskar edited this page Aug 7, 2019
·
5 revisions
- Node (version 8+)
Client code was set up using create-react-app as a template.
Docs can be found here.
-
Check out repository
-
Navigate to /spring-react/react and fire npm i ( or npm install if you like to waste time)
needless to say you need to run this only once. Run it again if you make some changes in package.json around your dependencies, or if you accidentally delete /node_modules/ folder, although if you need to run install again i would suggest running npm ci which is a newer api that works significantly faster. -
Running client side code takes a single command, npm run start as you are all set.
Code is served on this address: http://localhost:3000/