Code Monkey home page Code Monkey logo

post-o-blog's Introduction

POST-O-BLOG

  • A blogging website to create posts sharing thoughts, ideas, and experiences.
  • This website also supports Markdown to create different text styles and make your posts more readable.
  • Just create an account and compose your own posts and don't forget to like other's posts ๐Ÿ˜.
  • Also get the collection of all of your posts in your profile.

Post-O-Blog.mp4

Checkout the Deployed website : https://post-o-blog.herokuapp.com/


TECHNOLOGY USED

HTML CSS JavaScript
MongoDB Express Node.js Embedded JS NPM
Git GitHub Heroku


NPM DEPENDENCIES

  "dependencies": {
    "body-parser": "^1.19.0",
    "dompurify": "^2.3.0",
    "dotenv": "^10.0.0",
    "ejs": "^3.1.6",
    "express": "^4.17.1",
    "express-session": "^1.17.2",
    "jsdom": "^16.6.0",
    "marked": "^2.1.3",
    "method-override": "^3.0.0",
    "mongoose": "^5.13.3",
    "mongoose-findorcreate": "^3.0.0",
    "passport": "^0.4.1",
    "passport-google-oauth20": "^2.0.0",
    "passport-local-mongoose": "^6.1.0"
  }

LOCAL ENVIRONMENT SETUP

  • Clone repository by running this command on git-bash
    git clone https://github.com/<your user-name>/POST-O-BLOG.git
  • Run command cd POST-O-BLOG

  • Install Dependencies using

    npm install
  • Run this command when in root directory to make .env file
    touch .env
  • Add this to .env file
    • Please Note, the ATLAS_URI is not the database link of MongoDB Atlas, its just the variable name. The URL is for local use only.
    SECRET=thisIsMySecret
    ATLAS_URI=mongodb://localhost:27017/postblogDB
  • Testing : Run this command on your terminal/ bash to start the Mongo server on port 27017(default).
    mongod
  • Run this command to start the project.
    node app.js
  • Open link to view the website in your browser window if it doesn't open automatically.
    http://localhost:3000/
  • That's all, now just Sign Up to POST-O-BLOG and compose your own posts.


CONTRIBUTING

This project is open for contributions so Pull requests and Issues are welcome.

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.