https://github.com/bripkens/spa-security
https://github.com/bripkens/spa-security
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bripkens/spa-security
- Owner: bripkens
- Created: 2014-06-14T14:29:33.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T13:00:54.000Z (almost 12 years ago)
- Last Synced: 2025-03-13T04:02:21.652Z (over 1 year ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spa-security
Just a playground for SPA authentication prototypes.
## How to run
1. Make sure you have Redis running on your machine, e.g. via Docker
`docker run -d --name redis -p 6379:6379 dockerfile/redis`
2. Make sure you have Node.js ^0.10.26 with NPM
3. Install all the dependencies: `npm install`
4. Run the app `node lib $REDIS_HOST $REDIS_PORT`.
Supercharge your development experience using the `run.bash` script that
automatically restarts the server on changes.
## How to inspect Redis
```
docker run -it --rm --link redis:redis dockerfile/redis bash -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'
```
## TODO
- prepend JSON responses with `for(;;);`
- access token timeouts
- remember me functionality