Sample Rails applications for demonstrating Implement Passwordless Authentication via Magic Link in Rails API
-
Ruby version: 2.7.1
-
Rails version: 6.1.3
- Clone the application on your local
git clone https://github.com/sampatbadhe/passwordless-authentication-api.git
- cd to the
passwordless-authentication-api
application directory
cd passwordless-authentication-api
- Run
bundle
command to install all gems
bundle install
-
Configure your
database.yml
file. -
Run
bundle exec rails db:create
-
Run
bundle exec rails db:migrate
-
Run
bundle exec rails db:seed
. The sample data would be then loaded into application database. -
Run the rails server using
bundle exec rails server
orbundle exec rails s