Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.35 KB

README.md

File metadata and controls

34 lines (31 loc) · 1.35 KB

Blogs Website

This project uses Node.js, Express, MongoDB with Google OAuth to build a Blogs website.
Users can use their Google account to easily login instead of typing tons of information to register. In the Blogs website, users can create, update and delete their blogs. They can set the blogs to either public or private. Only public blogs can be seen by all users. And only the blogs' owners can update and delete their blogs.
I use express-session middleware to persist sessions across stateless HTTP requests.
I use passport module to provide and automate user authentication. This can prevent data tampering and illegal data accessing.

How to run:

# Install dependencies
npm install

# Start server
npm start

# Visit
use your browser and visit http://localhost:3000