Skip to content

flyrk/myblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Project is a Blog system

main tools stack:

  • React
  • Redux
  • React-Router
  • Node.js
  • Express
  • MongoDB
  • axios
  • lodash
  • Bulma
  • Sass

To start serverSide

open the blog folder and run cd server npm start

Then the server side is running on localhost://8080

To start clientSide

On the blog folder, run npm start

Then the client side is running on localhost://3000

Client to Server

I set proxy on client side:

"proxy": {
  "/api": {
    "target": "http://localhost:8080",
    "ws": true
  }
},

Then Client data can be connected to server through /api router.