This is the front-end side of my polls-project, and it still has a lot of bugs. On the back-end I only got the User-class to work and not Polls or VoteOptions, but I am working on it.
Until the last commit, the front-end side for the user-class worked without errors, but now after I tried to implement the Polls-class and connect them to the same database, I keep getting Network or Runtime errors.
I don't know why this is, but I think it is because of something that has happened on the back-end since that's the only files that has been changed since the last time I ran the front-end without errors.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.