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-apiapplication directory
cd passwordless-authentication-api
- Run
bundlecommand to install all gems
bundle install
-
Configure your
database.ymlfile. -
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 serverorbundle exec rails s