Giter Site home page Giter Site logo

abirxox / blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ninadang97/blog-express-mongo

0.0 0.0 0.0 2.31 MB

A blog website created by Node.js, Express.js and mongoDB on built-in Ubuntu workspace in the cloud. Utilize full CRUD operation and Auth.

Home Page: https://stormy-meadow-40256.herokuapp.com/blogs

JavaScript 53.26% CSS 1.80% HTML 44.94%

blog's Introduction

blog-app (10/2017)

Description:

A simple blog app where anybody can write down anything helpful so everyone can view. Fully implemented and user experience improved by security authentication and authorization.
Built in cloud9 - a powerful online code editor with a full Ubuntu workspace in the cloud.

Setup MongoDB

  • If built with cloud 9
  • If built locally and run with real mongoDB, you need to have (https://mlab.com) account and name your database blog (for example) as well as dbuser and dbpassword:
mongoose.connect("mongodb://dbuser:[email protected]:00000/blog", {useMongoClient: true});

NPM Install

npm install  
node app.js
  • express (Server-side Javascript)
  • ejs (Embedded Javascript)
  • express-sanitizer (middleware after initilize body-parser for node-validation)
  • body-parser
  • mongoose (mongoDB for Express version)
  • method-override (used for method PUT and DELETE in RESTful ROUTE that form type in cliend-side doesn't support
  • connect-flash (middleware: store message displayed for user once and cleared after page being refreshed)
  • passport
  • passport-local
  • passport-local-mongoose
  • express-session

Inspired by Steel Colt - Web Development Bootcamp in Udemy

blog's People

Contributors

ninadang97 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.