https://github.com/vic778/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
https://github.com/vic778/devise-auth
factory github google oam omniauth rspec-rails ruby ruby-on-rails turbostreams
Last synced: 2 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/vic778/devise-auth
- Owner: vic778
- Created: 2022-09-30T07:47:11.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-10-03T08:21:39.000Z (over 3 years ago)
- Last Synced: 2025-02-23T14:15:03.613Z (over 1 year ago)
- Topics: factory, github, google, oam, omniauth, rspec-rails, ruby, ruby-on-rails, turbostreams
- Language: Ruby
- Homepage: https://radiant-headland-14852.herokuapp.com/
- Size: 80.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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

## 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**
- GitHub: [@Vvic778](https://github.com/vic778)
- Twitter: [@victoirBarh](https://twitter.com/)
- LinkedIn: [LinkedIn](https://linkedin.com/in/victoir-barh)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
N/A
## 📝 License
This project is [MIT](lic.url) licensed.