express-angular

Angular seed app setup with a express / oauth / bootstrap

Added by: Sam Deering

GitHub

Repository

ganarajpr/express-angular

Stats

Stars: 119

Watchers: 119

Forks: 30

Author

Ganaraj P R
Ganaraj P R

Module Description

Express Angular Seed with EveryAuth and Bootstrap

This repo is inspired by [Angular Express Seed] (https://github.com/btford/angular-express-seed).

I could not find a single example application that worked fine with oauth. I always wanted a setup with angular, server side ( rails or node! ) exposing api's with oauth for authentication and any nosql db. I couldnt find any so I started writing my own. This would be my ideal setup for a project as well. Eventually I plan to expand this setup to include all the technologies I mentioned above.

Start an awesome app with AngularJS on the front, Express + Node on the back. This project is an application skeleton for a typical AngularJS web app for those who want to use Node to serve their app.

The seed app shows how to wire together Angular client-side components with Express on the server and have OAuth setup, so that you dont have to worry about authentication of your user.

##Note :

Unlike Angular Express Seed this project uses html itself as the templating engine which I personally find more comfortable.

How to use

Prepare your environment

Clone the express-angular repository

You might need to download some node modules

npm install

Set the following environment variables if using Twitter authentication. These defaults are from the everyauth module, but you should get your own at Twitter's Developer site

TWITTER_CONSUMER_KEY=JLCGyLzuOK1BjnKPKGyQ
TWITTER_CONSUMER_SECRET=GNqKfPqtzOcsCtFbGTMqinoATHvBcy1nzCTimeA9M0

Running the app

Runs like a typical express app:

node app.js

Or you can run it this way to automatically reload any changes you make

nodemon app.js

References

Module stats last updated: 2017-04-22 15:00:04

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!