This repo is functionality in-complete — PRs and issues welcome it's 90% done!!
In this example, I created a dating app called Friend Finder with Expressjs and Nodejs. This app takes user input through a form and displays their best match.
To view demo click on this link: (Heroku Demo Link)
To get the Node server running locally:
- Clone this repo (GIT)
- Install Nodejs on your Mac (Download)
npm install
to install all required dependencies- load the .sql file locally and make sure the credentials match up.
node server.js
to start the node application.
- body-parser - Parse incoming request bodies in a middleware before your handlers, available under the req.body property.
- express - Fast, unopinionated, minimalist web framework (for servers) for node.
- path - This is an exact copy of the NodeJS ’path’ module published to the NPM registry.
- nodmon - nodemon will watch the files in the directory in which nodemon was started, and if any files change, nodemon will automatically restart your node application.
server.js
- The entry point to our application for the customer user type./routes
- The routes of this application./public
- All public facing assets are in this directory/data
- Data objects for this app.