/devise-auth

in this project, I went through the devise action we can take. I didn't know it was powerful. I created the login method add google oamni and github. I created the tracktable and confirmable action. so we can have your history of when you logged in and how many per day including your IP address and occasion as well. If you try to log in 3 times with a wrong password, your account will be blocked and a token will be sent to you by email so you can unlock your account. Finally, I checked the login time setting after 30 minutes, you will be logged out because your session will have expired. This action is very useful, I think, for Upwork, because every day you have to log in again

Primary LanguageRuby

DEVISE

In this project, I went through the devise action we can take. I didn't know it was powerful. I created the login method add google omniauth and github. I created the tracktable and confirmable action. so we can have your history of when you logged in and how many per day including your IP address and occasion as well. If you try to log in 3 times with a wrong password, your account will be blocked and a token will be sent to you by email so you can unlock your account. Finally, I checked the login time setting after 30 minutes, you will be logged out because your session will have expired. This action is very useful, I think, for Upwork, because every day you have to log in again.This API is made these models:

Still in progress...
  • User Model

Deployment

img

Built With

  • Rails
  • Ruby
  • Postgresql
  • Devise
  • JWT
  • ActiveRecord Serializer
  • ActiveAdmin
  • ActiveRecord Image Uploader
  • Cloudinary
  • Heroku

Getting Started

Here are the steps to follow in order to get this project on your local computer.

Prerequisites

rails v7.0.2 +

ruby v3.0.2 +

Setup

clone this repo by typing git clone https://github.com/vic778/Jumia-API

Install

install the dependencies by typing bundle install

Usage

start the local server by running rails s

Testing

run the tests by typing rails rswag

Documentation

Author

👤 Victor Barh

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

N/A

📝 License

This project is MIT licensed.