JSON-server is ideal for a development environment, but you can still make a GET and POST.
If you want to use a real-time data server, it would be better to use the firebase. and to perform GET and POST you can use the Https://github.com/axios/axios.
This link has a repository using firebase and axios: github.com/mariorodeghiero/reactjs...
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.