Skip to content

wkennedy8/MernBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MernBlog

Setup

Backend

  1. cd to the backend directory and yarn or yarn install to add dependencies.
  2. Add .env file in the backend directory with a MONGO_URL key set to your MongoDB Atlas connection string AND a JWT_SECRET key set to anything you would like.
  3. type the command yarn server to start express server and connect to your DB.

Client

  1. cd to the client directory and yarn or yarn install to add dependencies.
  2. Type the command yarn start to start the development server for the client.

IMPORTANT

The client and backend do not run concurrently. Make sure the backend server is connected, then open a second terminal window and run the client developmental server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published