项目作者: bonniesimon

项目描述 :
A Blog system using MERN stack
高级语言: JavaScript
项目地址: git://github.com/bonniesimon/blog-mern.git
创建时间: 2020-04-18T08:08:02Z
项目社区:https://github.com/bonniesimon/blog-mern

开源协议:

下载


blog-mern

A full stack blog application I am making to learn the in’s and out’s of MERN stack.

Setup

Note: Make sure you have nodejs installed on your system.
Type the following in the terminal to find out.
node -v

In the project folder:

  • To run server:

    1. cd server
    2. npm run dev
  • To run client (React):

  1. cd client
  2. npm start

Environmental Variable:

These are things present in my .env that I’ve not included here for security reasons.

  • MONGO_URI

Go to mongo db atlas and get a URI (Just google)
Then replace MONGO_URI throughout the project with your URI key.

  • ACCESS_TOKEN_SECRET

Simply create a random string in place of this throughout.
eg. : ACCESS_TOKEN_SECRET = dajfkjdsahfkjkf3434