aaronfeingold / express-validator-proj

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express.js server Example with express-validator middleware

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

Available Scripts

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:

npm start

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.

About


Languages

Language:JavaScript 100.0%