Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkrage/napa_sample
Messing around with Napa and JWT auth
https://github.com/rkrage/napa_sample
Last synced: about 1 month ago
JSON representation
Messing around with Napa and JWT auth
- Host: GitHub
- URL: https://github.com/rkrage/napa_sample
- Owner: rkrage
- Created: 2015-07-16T00:20:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-21T01:41:20.000Z (over 9 years ago)
- Last Synced: 2024-10-28T17:15:14.344Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Napa Sample Application
A sample application using the Napa framework and JSON web token authentication.
## Setup
Make sure MySQL is installed and the credentials are correct in the database.yml file.
```sh
bundle
bundle exec rake db:reset
RACK_ENV=test bundle exec rake db:reset
```## Running the server
```sh
bundle exec napa s
```## Running the tests
```sh
bundle exec rspec spec
```