This project utilizes express-validator to do work on requests from a React.js frontend.
To get started, fork and clone the repository.
Next, use npm install to download dependencies.
Run npm start to view server in browser at port 8080 (details below)
Need to test with frontend?
Check out this react project here:
https://github.com/aaronfeingold/react-redux-toolkit-client
Deployed site visible here:
https://express-validator-proj.herokuapp.com/api/posts
On a mac, open a new shell.
cd into the project's root directory, and then after installing dependencies (see above), you can run the server with:
Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Note: if chrome is default, browser window should open.