Skip to content

santu-git/hijibiji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular-Passport

An AngularJS application that uses Express, Passport, MongoDB. Demonstrating:

  • Authentication using Passport
  • Account creation and server validation with Mongoose.
  • CRUD interface for creating posts with MongoDB
  • Client validations for account creation including a directive for validating if a username is available.
  • Authorization middleware for checking if you are allowed to edit a post.
  • Unit tests for client code

How to use angular-passport

Before you continue, make sure you have MongoDB installed http://www.mongodb.org/downloads/.

Setup

Run npm install, followed by bower install to grab the dependencies.

Directory structure

+---server.js           -> Bootstrap Server
|
+---app                 -> Client
|   +---scripts
|   |   +---controllers
|   |   +---directives
|   |   \---services
|   |
|   +---styles
|   \---views
|       \---partials
|           \---blogs
+---lib                 -> Server
|   +---config
|   +---controllers
|   +---db
|   \---models
|           
+---test                -> Client unit tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published