https://github.com/bonniesimon/blog-mern
A Blog system using MERN stack
https://github.com/bonniesimon/blog-mern
blog-mern expressjs jwt-authentication mern mongo-uri mongoosejs nodejs react
Last synced: 4 days ago
JSON representation
A Blog system using MERN stack
- Host: GitHub
- URL: https://github.com/bonniesimon/blog-mern
- Owner: bonniesimon
- Created: 2020-04-18T08:08:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T20:23:07.000Z (over 2 years ago)
- Last Synced: 2024-04-14T23:17:48.850Z (about 1 year ago)
- Topics: blog-mern, expressjs, jwt-authentication, mern, mongo-uri, mongoosejs, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 1.65 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```
cd server
npm run dev
```- To run client (React):
```
cd client
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