Blog built with React+Express+MongoDB.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
public
scripts
server
src
test
.dockerignore
.eslintignore
.eslintrc.json
.gitignore
.travis.yml
Dockerfile
Dockerfile-frontend
LICENSE
README.md
deploy.sh
docker-compose.yml
nginx.conf
package-lock.json
package.json
seed.json
wait-for-it.sh

README.md

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