Select a massage!
- Initial commit - 5/27/22
- Node.js - version 16.15.0
- Express.js - version 4.18.1
- MongoDB - version 5.0.9
- React.js - version 18.1.0
To try out this project:
- Clone this repository to your computer
- In the command line, navigate to the root directory and type: $ npm install
- CD into frontend and type: $ npm install
- To start the server, cd back to the root directory and type: $ npm run dev
- In your browser, navigate to http://localhost:5000
useEffect(() => {
const fetchServices = async () => {
const response = await fetch('/api/service/services')
const json = await response.json()
if (response.ok) {
setServices(json)
} else {
console.log('response not ok')
}
}
fetchServices()
}, [])
In progress
Little project where I build a nice modern site showcasing the services of a local small business! This is not intended for production use, just a project idea at this time of inception.
Created by Cole Robinson (https://www.linkedin.com/in/cwrobinson-/) Let me know what you think! All feedback welcome.