Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GunnarPDX/Rails-React-DTA-Template
(not maintained) 💎 React on Rails starter app - with devise_token_auth
https://github.com/GunnarPDX/Rails-React-DTA-Template
Last synced: about 1 month ago
JSON representation
(not maintained) 💎 React on Rails starter app - with devise_token_auth
- Host: GitHub
- URL: https://github.com/GunnarPDX/Rails-React-DTA-Template
- Owner: GunnarPDX
- License: mit
- Created: 2020-01-31T01:41:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T20:30:49.000Z (almost 2 years ago)
- Last Synced: 2024-08-05T08:07:33.263Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 1.77 MB
- Stars: 25
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Open-Source-Ruby-and-Rails-Apps - Rails-React-DTA-Template - 💎 React on Rails with devise_token_auth -> Starter App 🔥 (Happy Exploring 🤘)
README
# Rails, React & devise_token_auth -- template
Not actively maintained- A nice starting point for your next app, preconfigured starter app with devise_token_auth setup for user accounts, deployment configuration for heroku, and various other boilerplate. MIT License.
- link to demo heroku app: https://calm-citadel-54256.herokuapp.com/# Config
#### Backend
- $ rvm install 2.7.0 or rbenv install 2.7.0
- $ rvm use 2.7.0 or rbenv local 2.7.0
- $ bundle install
- $ rails db:create
- $ rails db:migrate
#### Frontend
- $ cd client
- $ yarn
- $ cd ..#### Starting the dev server
###### if you dont have foreman installed run: $ gem install foreman
- $ foreman start -f Procfile.dev
###### If foreman exits without killing ports 3000/3001 run: $ lsof -ti:3000 | xargs kill# Deployment instructions
#### (For Heroku)
###### if you dont have heroku cli installed run: $ npm install -g heroku
- $ heroku login
- $ heroku apps:create- $ heroku buildpacks:add heroku/nodejs --index 1
- $ heroku buildpacks:add heroku/ruby --index 2- $ git init
- $ git add .
- $ git commit -m "commit changes before deployment"
- $ git push heroku master
- $ heroku run rake db:migrate
- --> visit your deployed app :)