Skip to content

adsinghnet/blogApp

Repository files navigation

BlogApp

Create blogs

Live Web Application

- You can only login via Chitkara domain. I will update that soon

http://blogapp-ad.herokuapp.com/

Demo

Demo

Database

database

Technology

This app uses Node.js/Express/MongoDB/Passport.js with Google OAuth for authentication

Usage

Add your mongoDB URI and Google OAuth credentials to the config.env file

# Install dependencies
npm install

# Run in development
npm run dev

# Run in production
npm start

Credential(config.env) (for testing purpose only)

PORT = 3000
MONGO_URI = mongodb+srv://ad1234:ad1234@cluster1.bqwhs.mongodb.net/blogapp?retryWrites=true&w=majority
GOOGLE_CLIENT_ID = 922052451645-ef63sqascrm23qqpoce42n3mpc2ta2p1.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET = hzvlB7ZECoJBf9OEtIZMaQCj

In case of error while running npm install command

Download: https://drive.google.com/file/d/1OKuw_hyuoxdFpQrxnEeealT2mUChyYAu/view?usp=sharing

# Run in development
npm run dev

# Run in production
npm start

Website

http://projects.adsingh.net/