Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Image Backups API endpoint #14659

Closed
wants to merge 5 commits into from
Closed

✨Image Backups API endpoint #14659

wants to merge 5 commits into from

Commits on May 3, 2022

  1. Add new backups route to routes.js

    Create backups.js (controller?) that would handle the request.
    Import backups.js in index.js.
    ronaldlangeveld committed May 3, 2022
    Configuration menu
    Copy the full SHA
    76840a9 View commit details
    Browse the repository at this point in the history
  2. Add serializer for backup route. Needed to add response data to the f…

    …rame.
    
    Import backup serializer to index.js.
    ronaldlangeveld committed May 3, 2022
    Configuration menu
    Copy the full SHA
    702b892 View commit details
    Browse the repository at this point in the history
  3. Added backups as a service. Created BackupsExporter, backups.js & index.

    Index provides the exporter module, that would be initiated by the backups API controller.
    
    BackupsExporter is the main function with the logic. For now it creates a new folder inside content called backups and generates a file called images.zip and then serves it via the http request.
    
    Added /backups as a path / folder inside the shared helpers config file.
    ronaldlangeveld committed May 3, 2022
    Configuration menu
    Copy the full SHA
    9bc2b7d View commit details
    Browse the repository at this point in the history
  4. added folder backups to .gitignore.

    Pointed API controller to backups service.
    ronaldlangeveld committed May 3, 2022
    Configuration menu
    Copy the full SHA
    bec00ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a32af1b View commit details
    Browse the repository at this point in the history