Skip to content

Markdown document editor made using MERN Stack. It offers a user-friendly interface with real-time Markdown preview, syntax highlighting, and full document management capabilities.

Notifications You must be signed in to change notification settings

brxjonesdev/markdown-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Markdown Editor - MERN Stack

Overview

This is a personal Markdown editor I created using the MERN (MongoDB, Express.js, React, Node.js) stack. It provides a user-friendly interface for creating and editing Markdown documents. Markdown is a lightweight markup language that allows you to format plain text using easy-to-read and easy-to-write syntax. This project enables you to write and preview Markdown content in real-time. My motivation for making it was to see if i could make it, to be honest. I learned how use other libraries in my code as making my own real time text to markdown functionality would have made this project take forever to complete. It was also made using MERN Stack. If i had more time with this project I would make the Markdown Files sperate by user instead of a "community" folder. My focus was on learning how it would work, not making it a viable SAAS.

Features

  • Real-time Markdown preview
  • Rich text editor with syntax highlighting
  • Document management with Create, Read, Update, and Delete (CRUD) operations
  • Responsive design for various devices

Getting Started

To get started with your personal Markdown editor, follow the steps below:

Prerequisites

  • Node.js and npm installed on your machine
  • MongoDB database (local or cloud-based)

Installation

  1. Clone this repository:

    git clone https://github.com/your-username/markdown-editor.git
  2. Navigate to the project directory:

    cd markdown-editor
  3. Install server dependencies:

    npm install
  4. Navigate to the client directory:

    cd client
  5. Install client dependencies:

    npm install
  6. Return to the root project directory:

    cd ..
  7. Create a .env file in the project root and set your environment variables. You can use .env.example as a template.

  8. Start the development server:

    npm run dev

Your personal Markdown editor should now be running. You can access it in your web browser at http://localhost:3000.

Configuration

Environment Variables

Make sure to configure the following environment variables in your .env file:

  • MONGO_URI: The connection URL for your MongoDB database.
  • PORT: The port on which the server will run (default is 5000).
  • CLIENT_URL: The URL of your client application (e.g., http://localhost:3000 in development).

Usage

  1. Create a new document by clicking "New Document."
  2. Write or edit your Markdown content in the editor.
  3. Your changes will be automatically previewed on the right side of the editor.
  4. Save or update your document.
  5. View, edit, or delete your documents from the home screen.

License

This personal project is licensed under the MIT License. You have full control over how you choose to use and share it.

Acknowledgments

  • Thanks to the MERN stack and open-source contributors for the tools and libraries used in this project.

About

Markdown document editor made using MERN Stack. It offers a user-friendly interface with real-time Markdown preview, syntax highlighting, and full document management capabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published