ryaliscs / randomQuotes

Random Quotes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

randomQuotes

To show randam quotes. This is a experiment project to build a simple application using node+jQuery+HTML, with node as backend with file stoage in json format to store the quotes.

version

1.0 [Show quotes which change randomly at regular interval]

Setting up this project

  1. Clone this project
  2. npm install
  3. npm start

Inital setup notes for developers

Libraries used

Node.js
jQuery
HTML

install the Express framework globally using NPM so that it can be used to create a web application using node terminal

npm install express

body-parser − This is a node.js middleware for handling JSON, Raw, Text and URL encoded form data.

npm install body-parser

Nodemon is super helpful because it acts as a file-watcher, reloading our server when we make changes to our files – handy!

npm install nodemon --save-dev

Deploying in heroku (for public git repos)

Prerequisite: Install Heroku CLI

git push heroku master

Refernces

Code Example Reference - By Rob Kendal

Heroku Deployment References

About

Random Quotes


Languages

Language:JavaScript 68.5%Language:HTML 17.5%Language:CSS 14.0%