# angular-passport **Repository Path**: mirrors_PatrickJS/angular-passport ## Basic Information - **Project Name**: angular-passport - **Description**: AngularJS + Express application that demonstrates: Authentication with Passport, CRUD interface for creating posts with mongoDB, server and client validations for account creation, and authorization for editing posts. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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 ## Live Example Try out the app: (Heroku app may have gone to sleep, reload the page if it doesn't work.) ## How to use angular-passport Before you continue, make sure you have MongoDB installed . ### Setup Run `npm install`, followed by `bower install` to grab the dependencies. ### Running the app Run `grunt server` to start the app in development mode with livereload, or run `grunt server:dist` to run it in a minified and optimized production build. ### Testing Run `grunt test` to start the karma test runner. ## 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