Skip to content

billhanyu/blog

Repository files navigation

Blog

Build Status Coverage Status

Blog built with React+Express+MongoDB.

Frontend:

  • React Router
  • React Redux
  • Material UI (v0.20v1.0.0 Don't ask about migration. I don't want to talk about it.)

Backend:

  • Express
  • MongoDB

Deployed with Docker

Run

  • npm install --all

Dev

  1. npm run server to start the backend API server
  2. npm start to start the frontend

Frontend hot reloading is enabled!

Prod

  1. install Docker and docker-compose
  2. docker-compose build
  3. docker-compose up -d

Features

  • posts CRUD

  • comments CRUD

  • like/unlike (API done, no frontend yet)

  • attachments for posts (uploading images to server)

    limit maximum width or height with query params in image links.

    Example:

    ![](http://blog.com/image.png?width={maxWidth}&height={maxHeight})

Articles Referenced

Thanks

To the anime fan for:

  • Testing
  • Feature suggestions (post attachments)
  • Being 10/10

About

Blog built with React+Express+MongoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages