Giter Site home page Giter Site logo

manojm01 / blog-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jatinbharadwaj/blog-app

0.0 0.0 0.0 3.34 MB

A simple blogging webapp built using NodeJS, ExpressJS and MongoDb. Authenticated and authorization functions with passport

Home Page: https://blog-app-jatin.herokuapp.com/

JavaScript 23.06% Handlebars 73.02% CSS 3.67% Shell 0.24%

blog-app's Introduction

Blog App

A simple blogging webapp built using NodeJS, ExpressJS and MongoDb. Authenticated and authorization functions with passport

Functions

  • SignIn - Login into existing account
  • SignUp - Signup using username and password
  • Add Post - Add your post with an image and text
  • Remove - Remove a post
  • Edit - Edit an existing post

Checkout Hosted WebApp here

Click here ✌

Routes

  • GET /posts - To view all the posts
  • GET /user/:username - To view specific post by a user
  • POST /posts/publish - To add new post (when user is authenticated andauthorized only)
  • GET /posts/:id - To get a post with specific id
  • PUT /posts/:id - To update specific post with unique Id
  • Delete /posts/:id - To delete specific post with unique Id

Project Archietecture

├── app.js
├── middleware
    └── index.js
├── models
    ├── comment.js
│   ├── post.js
│   └── user.js
├── node_modules
├── package.json
├── package-lock.json
├── public

├── readme.md
├── routes
│   ├── comments.js
│   ├── index.js
│   ├── posts.js
│   └── user.js
└── views
    ├── comments
    ├── landing.hbs
    ├── login.hbs
    ├── posts
    └── register.hbs

How to run

  • Git clone repository
  • Then run these commands in terminal/shell
    npm install
    npm start

blog-app's People

Contributors

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