The study example from Microsoft Virtual Academy didn't implement client session, which causes user to be logout every time when the page is refreshed. This example does client session handling through AngularJS module ngCookies. It is a simplified implementation just for demo purpose. Besides, api routes in this example are implemented only through HTTP calls without using ngResources.
This application also incorporates Mention.js to have the @user functionality.
- Node.js -- https://nodejs.org/
- Mongodb -- https://www.mongodb.com/
- install the prerequisites
- clone github repository: https://github.com/ctfu/ChirpApp.git
- terminal run:
npm install
- terminal run:
mongod
(some operating system might need sudo permission) - terminal run:
npm start
- browser:
localhost:3000