https://github.com/freedomofkeima/pat_uas_prototype
Prototype for Distributed System (using Node JS + Express + Angular + Redis)
https://github.com/freedomofkeima/pat_uas_prototype
Last synced: 3 months ago
JSON representation
Prototype for Distributed System (using Node JS + Express + Angular + Redis)
- Host: GitHub
- URL: https://github.com/freedomofkeima/pat_uas_prototype
- Owner: freedomofkeima
- Created: 2014-12-23T04:16:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-23T20:55:17.000Z (almost 11 years ago)
- Last Synced: 2023-06-09T00:05:13.650Z (over 2 years ago)
- Language: JavaScript
- Size: 2.76 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#PAT Ticketing System Prototype
By: Iskandar Setiadi (freedomofkeima) / 13511073
## Development Environment
- Linux / UNIX based Operating System
- Node JS Web Server with additional Express JS & Angular JS support
- Bower and npm as package management for JS
- Redis as Cache Layer
- MongoDB as Database Layer (not implemented -> not required at this point)
## System Architecture

##How to Run
Please access src/ directory for all of these operations.
###Install Node JS & npm
Please access ```http://nodejs.org/download``` and install the latest Node JS (Current version: v0.10.34)
###Install Redis
Download, extract, and compile Redis with:
wget http://download.redis.io/releases/redis-2.8.19.tar.gz
tar xzf redis-2.8.19.tar.gz
cd redis-2.8.19
makeRun Redis with:
src/redis-server
For complete info, please access ```http://redis.io/download```.
###Install Bower
[sudo] npm install -g bower
###Run application
We can use ```npm``` and ```bower``` to manage all dependencies. Install the required dependencies by:
npm install
bower installTo prevent Node JS from closing (error etc), start the application server with:
node_modules/forever/bin/forever start app.js
Alternatively, you can start the application server with:
node app.js
Finally, you can access the result at ```http://localhost:3000```
---
Reference(s):
- http://briantford.com/blog/angular-express
Last updated: 23 December 2014