A RESTful API to add bills on a table with the last day these have to being paid. We can sing up and sing in to add bills and see the bills of our own user. It has a nice implementation where we can get notified by email when a bill is about to expire.
- Ruby on Rails
- PostgreSQL
- RSpec
- Rubocop
- Redis
- Sidekiq
- Clone the repository to your local machine.
git clone [email protected]:er-contreras/time_management_BE.git
- cd into the directory
cd time_management_BE
- Install all the gems
bundle install
- Create the database
rails db:create
- Run the migrations
rails db:migrate
- Run the server
rails s
- Run the redis server
redis-server
- Run the sidekiq server
bundle exec sidekiq
- Run the tests
bundle exec rspec
- Open the browser and go to sidekiq UI
http://localhost:3000/sidekiq
- Enjoy!
POST /users
| Name | Type | Description |
| ---- | ---- | ----------- |
| email
| string
| Required. |
| password
| string
| Required. |
| password_confirmation
| string
| Required. |
{
"user": {
"name": "John Doe",
"username": "johndoe",
"email": "[email protected]",
"password": "123456"
}
}