Skip to content

Mean stack blog with authentication and session management and restricting apis based on session.

Notifications You must be signed in to change notification settings

sanketdhoble/Mongo-Express-Angular-NodeJs-MEAN-STACK-BLOG-with-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongo-Express-Angular-NodeJs-MEAN-STACK-BLOG-with-auth

Mean stack blog with authentication and session management and restricting apis based on session.

Blog include functionalities and NodeJs APIs as follows:
NODEJS:
1)Register user
2)Login user
3)express-session & also JsonWebToken module to restrict some APIs for logged in users.
4)ADD,EDIT,DELETE,GET Blog
5)Add blog based on userId
6)view particular blog based on Id.
5)Upvote blog and comments.
6)comment ADD,EDIT,DELETE and sorting according to upvotes.

ANGULARJS:
Route Restrictions to some pages requiring user login.
handling server authentication with localStorage.

Instructions to run

Clone the project

git clone https://github.com/vigilante95/Mongo-Express-Angular-NodeJs-MEAN-STACK-BLOG-with-auth.git

DataBase - Mongo

  • Check if mongodb service is running in your machine else start the service.

Server

  • You need to have node and npm installed in your machine.
  • open up your teminal or command prompt go to the directory chat
  • Do install all dependencies using
             npm install
             npm install -g nodemon
             nodejs server.js or nodemon server.js
    Your server will be setup and ready for use.

UI

  • Go to browser and type localhost:8888 in place of url.
  • Register user by giving basic details.
  • Login from the same screen.

APP RUNNING on Heroku server @ www.testblog.ga

About

Mean stack blog with authentication and session management and restricting apis based on session.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published