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
- Rails
- Ruby
- Postgresql
- Devise
- JWT
- ActiveRecord Serializer
- ActiveAdmin
- ActiveRecord Image Uploader
- Cloudinary
- Heroku
Here are the steps to follow in order to get this project on your local computer.
rails v7.0.2 +
ruby v3.0.2 +
clone this repo by typing git clone https://github.com/vic778/Jumia-API
install the dependencies by typing bundle install
start the local server by running rails s
run the tests by typing rails rswag
👤 Victor Barh
- GitHub: @Vvic778
- Twitter: @victoirBarh
- LinkedIn: LinkedIn
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
N/A
This project is MIT licensed.