https://github.com/aizuddinbadry/rails-5-api-boilerplate
Rails 5 api only application boilerplate.
https://github.com/aizuddinbadry/rails-5-api-boilerplate
Last synced: 2 months ago
JSON representation
Rails 5 api only application boilerplate.
- Host: GitHub
- URL: https://github.com/aizuddinbadry/rails-5-api-boilerplate
- Owner: AizuddinBadry
- Created: 2017-08-23T18:16:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T04:34:01.000Z (over 7 years ago)
- Last Synced: 2025-01-05T20:29:14.556Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails 5 API Only Apps Boilerplate
Rails 5 api only application boilerplate. All the configuration needed for building Rails 5 API has been include.## Features
1. Token based authentication2. Support multiple api version endpoint
3. Support CORS
## Installation
Install the gem:
`bundle install`
and run:
`rails s`
## Configuration
1. Move all controller generate via `rails g scaffold`, `rails g resource`, or `rails g controller` to app/controllers/api/v1/ folder2. Edit routes.rb file to suit your apps environment