GithubHelp home page GithubHelp logo

muddlebee / write-with-me Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dabit3/write-with-me

0.0 0.0 0.0 11.09 MB

Real-time Collaborative Markdown Editor

Home Page: https://writewithme.dev

HTML 7.64% CSS 6.31% JavaScript 86.04%

write-with-me's Introduction

✍️ Write with me

A real-time collaborative blog post editor built with GraphQL, React, React Markdown, & AWS AppSync.

This repo goes along with the medium post "How to Build a Real-time Collaborative Markdown Editor with React Hooks, GraphQL & AWS AppSync". Click here to check it out.

Try it out at www.writewithme.dev

Base schema

Here's the base schema:

type Post @model {
  id: ID!
  clientId: ID!
  markdown: String!
  title: String!
  createdAt: String
}

We have a Post type that has a few properties. The most important property is the markdown. This is where we are keeping up with the state of the post.

We also have a clientId to properly handle GraphQL subscriptions on the client.

Launching the app

Deploy this fullstack app with a single click to the Amplify Console:

amplifybutton

Run locally with the Amplify CLI

  1. Clone the repo
git clone https://github.com/dabit3/write-with-me.git
  1. Change into the directory & install dependencies
cd write-with-me

npm install
  1. Initialize the Amplify backend
amplify init
  1. Push the application into your account
amplify push

write-with-me's People

Contributors

hermanya avatar swaminator avatar dabit3 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.