Giter Site home page Giter Site logo

react-markdown-app's Introduction

React Markdown app

This application uses React and Express to render and serve Markdown content. It includes a server that uses the Express framework, a React front-end, and a Markdown parser using the react-markdown package.

Getting Started To get started, clone this repository to your local machine and run the following command to install all required dependencies:

npm install

Once all dependencies are installed, you can start the development server using the following command:

npm run dev

This will start the Vite development server and the Express server concurrently.

Scripts

dev: This script starts the development server with hot-reloading enabled. To run this script, use the following command: npm run dev.

test: This script runs all tests in the tests directory. To run this script, use the following command: npm test.

Dependencies

This app uses the following dependencies:

  • express: For creating the web server

  • mocha: For unit testing

  • mongoose: For interacting with MongoDB databases

  • react: For building the front-end

  • react-dom: For rendering the front-end

  • react-markdown: For parsing Markdown content

  • react-router-dom: For client-side routing

  • chai: For unit testing

  • cors: For enabling CORS requests

  • dotenv: For loading environment variables

Note: You will also need a .env file within the root directory file with a link to your MONGO DB URI to connect your MONGO DB collection within the logic of the app.

Dev Dependencies

This app uses the following development dependencies:

  • @vitejs/plugin-react: For integrating React with Vite

  • concurrently: For running multiple scripts concurrently

  • nodemon: For automatically restarting the server when changes are made

  • supertest: For testing HTTP endpoints

  • vite: For serving and building the front-end

react-markdown-app's People

Contributors

blakemack avatar

Watchers

 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.