This README documents the necessary steps to get the application up and running, including API enhancements and new features.
- Ensure you are using Ruby version 2.7.2 or later.
- MySQL
- Redis
- Copy the
.env.example
file to.env
and update the environment variables as needed. - Ensure your
database.yml
is properly configured to connect to your MySQL database. - Ensure Redis is running.
Run the following commands to create the database:
rails db:create
rails db:migrate
Run the RSpec test suite:
rspec spec
For any additional setup or configuration, refer to the official Rails documentation or the project's wiki.
- Endpoint for user login.
- Secure password handling.
- Allows authenticated users to upload files.
- Files are encrypted with a randomly generated password and packed into a
.zip
archive. - The user receives a download link and the encryption password upon successful upload.
- Users can list the files they have uploaded.
- Comprehensive unit tests using RSpec.
- Request tests to ensure API functionality.
- OpenAPI documentation for the API endpoints.
- Documentation available at
/api/docs
rendered with Swagger UI.