This repository contains a small project, which manipulates albums and photos.
- Fork the repository.
- Implement requested functionality regarding to requirements, pointed below.
- Create a pull request IN YOUR OWN REPOSITORY with a completed task.
- Let us know
Requirements:
-
Restore the database structure and migrations.
-
Create an API interface with endpoints, that allow to receive:
- Albums. With fields:
- Album name
- Amount of photos
- Album author
- The date of the last change
- Photos. With fields:
- Url
- Upload date
- Author
- Related album
- Albums. With fields:
-
You can use RailsAPI or Grape + GrapeEntity(more suitable variant)
-
API should be protected with any kind of authorization
-
Upgrade Rails to version 6
-
Upgrade Ruby to version 3