Clone the repository
git clone https://github.com/naxadeve/fieldsight-react.git
Switch to the repo folder
cd fieldsight-react
Install the dependencies using npm
npm install
Add .env file at the root of the folder (use .env.sample file as reference)
Run npm start
for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Production build bundle will be served by express server at port 3000
so you can navigate to http://localhost:3000/
.