Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Creating a file uploader with PHP and Laravel framework.

Notifications You must be signed in to change notification settings

amirhnajafiz-archive/file-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File-Uploader

File uploader is a simple group of Restful APIs built in Laravel to upload file into a server and remove the file from that server. In this project I used:

  • Using laravel resource controller
  • Laravel form request
  • Laravel eloquent models
  • Laravel restful APIs
  • Eloquent soft delete model
  • Laravel Storage
  • SQLite database

APIs

All the routes and APIs of our website.

Postman

Setup

Clone and go to project directory:

$ git clone https://github.com/amirhnajafiz/File-Uploader.git
$ cd file-uploader

Setup project tools:

$ composer install

After this you should have a Vendor directory and composer.json file. Then set up the database migration by:

$ php artisan migrate

And set the server up:

$ php artisan serve

You should get a response like this:

Starting Laravel development server: http://127.0.0.1:8000
[Wed Sep 15 10:31:36 2021] PHP 8.0.7 Development Server (http://127.0.0.1:8000) started