This project was created to demonstrate a simple controlled form and api/service call in a reactjs project with a "saner" project structure than default create-react-app projects.
git clone https://github.com/mdjasper/simple-react-form-and-service.git
cd simple-react-form-and-service
npm install
npm start
React components (which includes "views") located in the src/components
folder. Services (makes fetch calls to an api endpoint) are located in src/services
.