Note: This project has now been archieved. Check out the devise gem for a great alternative.
A relatively easy to install and use user authorization for people in a hurry.
- Database: PostgreSQL
- Backend: Ruby on Rails
- Frontend: React, Redux, SASS
- Mobile / tablet friendly responsiveness
- Email confirmation
- Password reset
- SMTP email sending mechanism
- BEM CSS naming convention
- 7-1 SASS file structure
- Minimalistic design
- PC view:
- Mobile view:
- Note: These images have a purple border (the actual app doesn't)
- Install Rails if you don't have it
- Install PostgreSQL if you don't have it
- In terminal:
- Go to project directory
bundle install
- Installs Rails dependencies
npm install
- Installs needed npm packages
rails db:setup
- Sets up database
- In terminal:
- Go to project directory.
rails g rename:into New-Name
- Replace "
New-Name
" with your app's name.
- Replace "
- In code editor:
- Replace-all "AppName" with your app's name.
- Go to
config/application.yml
- Place this code snippet at bottom of file:
- Replace
'example@gmail.com'
with your email - Replace
'1234567'
with your email's password
- Replace
- NB: Make sure that this file (
application.yml
) is git ignored so you don't accidentally share it on Github or other places
- Place this code snippet at bottom of file:
api_key: 'API Key'
domain: 'Domain'
gmail_username: 'example@gmail.com'
gmail_password: '1234567'
- In terminal (each in separate tab):
rails s
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
If you plan to use a hosting service (e.g. Bluehost, Heroku, etc.) to deploy your site, then don't forget to add gmail_username
and gmail_password
as configuration variables.