Giter Site home page Giter Site logo

mbwong67 / mern-blog-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omkark45/blog-app

1.0 0.0 0.0 2.03 MB

A beautiful blog application written in ReactJS with Chakra-UI and NodeJS, Express, MongoDB, mongoose, JWT as backend. Full support for markdown syntax and ability to save blog as draft

Home Page: http://semicolon-blog.netlify.app

JavaScript 95.31% CSS 1.32% HTML 0.65% SCSS 2.72%

mern-blog-app's Introduction


Markdownify
Semicolon

A markdown based blogging platform built using React and ExpressJS.

Key FeaturesHow To UseVisitCreditsLicense

screenshot screenshot

Key Features

  • Markdown Editor - Make changes, See changes
    • Instantly see what your Markdown documents look like in HTML as you create them,
  • Sync Scrolling
    • While you type, LivePreview will automatically scroll to the current location you're editing.
  • GitHub Flavored Markdown.
  • Syntax highlighting and code support
  • Dark/Light mode (Under construction)
  • Toolbar for basic Markdown formatting.
  • Save your blog as a draft (Under construction)
  • Emoji support in preview 🎉
  • Share your blog on Twitter, WhatsApp and LinkedIn
  • Full screen mode
    • Write distraction free.

Visit

You can visit here

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/OmkarK45/blog-app

# Go into the repository
$ cd backend

# Go into the repository
$ cd frontend

# Install dependencies in backend by using 
$ npm install (wait 5mins)

# Install the frontend dependencies by using 
$ yarn install (wait 5mins)

# Setup environment variables
$ In backend folder, create a file called '.env' 
$ Declare the following variables as env vars : ACCESS_TOKEN, REFRESH_TOKEN_SECRET, JWT_SECRET='some secure string'(required), DB_URI_LOCAL=mongodb://localhost/blogdb (if db doesn't exist, it'll create one.), DB_URI_ATLAS='the url from mongo cloud atlas' (optional) 

# Run the backend
$cd backend
$ npm start

# Run the frontend by setting proxy to frontend in package.json
$ add this line at line 2 in frontend/package.json >> "proxy" : "https://localhost:3001"

# Run the frontend
$cd frontend
$ yarn start

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Credits

This software uses the following open source packages:

License

MIT

omkarkulkarni.netlify.app  ·  GitHub @omkark45  ·  LinkedIn @omkark45

mern-blog-app's People

Contributors

omkark45 avatar

Stargazers

 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.