Coder Social home page Coder Social logo

droiddevgeeks / nodelearning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 302 KB

This is node learning demo. It has covered all basics of node.

JavaScript 19.63% HTML 80.37%
nodejs node-module crawler nodemailer mongodb npm-package node router middleware-nodes ejs-express

nodelearning's Introduction

NodeLearning

This project covers all basic topics of nodejs framework. ExpressJs Routes MiddleWare Call Chaining ErrorHandling Ejs HTML Page rendering MongoDb and Connection and CRUD operation NodeMailer WebCrawler

############################### Start ########################################### How to start project:

Install latest version fo node sudo apt-get install nodejs-legacy

Install latest version fo node package manager sudo apt-get install npm

Clone repo https://github.com/droiddevgeeks/NodeLearning.git

  1. npm install cmd to install all required dependencies
  2. node app.js

This will start server on localhost:5000/

##############################################################################

############ Web Crawler ####################################

  1. localhost:5000/webcrawl/ this will hit website, parse html and mine http urls and store all url in db

  2. localhost:5000/weburls GET Api , will give all fetch url from database.

Another Example of web crawling

  1. localhost:5000/rssfeed/ this will hit website, parse html and mine http urls and store all url in db

  2. localhost:5000/posts GET Api , will give all fetch url from database.

###########################################################

######################### Sign In and Sign Up ##################################

  1. localhost:5000/user/alluser/:count GET
  2. localhost:5000/user/signIn POST API
  3. localhost:5000/user/myInfo POST API
  4. localhost:5000/user/signUp POST API

########################################################

################################ HTML Rendering#################################

EJS view engine

  1. localhost:5000/policy
  2. localhost:5000/rules ###############################################################################

nodelearning's People

Contributors

droiddevgeeks avatar kishanandroid avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.