Code Monkey home page Code Monkey logo

vue-markdown's Introduction

Build a realtime markdown editor with Vue

This project contains the source code for a realtime markdown editor built with Vue.js and Pusher. Article here

ezgif com-video-to-gif 12

Getting Started

Prerequisites

  1. You will need the following things properly installed on your computer.
  1. Create a Pusher application - Create a new application on your Pusher Dashboard to get your app credentials.

Clone the repository

$ git clone https://github.com/yemiwebby/vue-markdown.git

Change directory

$ cd vue-markdown

Install dependencies

npm install

Create a .env file in the root of the new directory with the content below:

PUSHER_APP_ID=YOUR_APP_ID
PUSHER_APP_KEY=YOUR_APP_KEY
PUSHER_APP_SECRET=YOUR_APP_SECRET
PUSHER_APP_CLUSTER=YOUR_APP_CLUSTER

Add Pusher Credential to HomeComponent

Open ./src/components/HomeComponent.vue and update with the appropriate credentials as obtained from your Pusher dashboard YOUR_APP_KEY and CLUSTER:

    let pusher = new Pusher("YOUR_APP_KEY", {
      cluster: "CLUSTER",
      ...
    });

Run the application

$ npm start

Start the server

node server

Built With

  • Vue.js - A progressive JavaScript framework for building applications

  • Pusher - A Node.js client to interact with the Pusher REST API

vue-markdown's People

Contributors

chiefoleka avatar christiannwamba avatar yemiwebby 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.