Skip to content

eyekeen/cloud-storage-api

Repository files navigation

Cloud storage api

Simple service for uploading, deleting, downloading and updating files.

Requirements

  • php >= v8.2
  • composer 2.5 and above

Installation

For installation this project need execute the following commands

git clone https://github.com/eyekeen/cloud-storage-api.git
cd cloud-storage-api
composer install

Configuration and run

cp .env.example .env

Start all docker containers

./vendor/bin/sail up

OR

Start all of the Docker containers in the background in "detached" mode:

./vendor/bin/sail up -d

Run migration:

./vendor/bin/sail artisan migrate
// Or
php artisan migrate   

Generating jwt secret key:

php artisan jwt:secret  

API

Launch postman and import api collection. After authorization, you need to use the "Bearer token" for further requests

License

cloud-storage-api is open-sourced software released under the MIT License.