Hello.
Developed application in the attachment.
To start, download the application to the root directory virtual or local server.
In the .env file, write the database connection settings (DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD);
For update dependency run comand php composer update
Run comand "php artisan migrate" or import of tables with sedna sql.
Run comand php artisan serve
or change {your-domain} on {your-domain}/public/ in methods
required parameters name,email,password,password_confirmation
Example post parametersname=test_user&[email protected]&password=11111111&password_confirmation=11111111
required parameters id user
Example url for POST {your-domain}/api/logout/1
required parameters email,password
Example post parameters[email protected]&password
parameter is name film or name actor
Example url for POST {your-domain}/api/movies/search/Rokky
required parameters id_user,name_film,date_created,actor,format,token
Example post parameters id_user=1&name_film=Rokky2&date_created=2010-03-03&format=DVD&actor[]=1&actor[]=2&token=01J75shwLQouLzmXiGqBPk5suVw4ljP7HHjxSfuJB4UGLzwTGW56NAdopnOI
required parameters id_film,name_film,date_created,actor,format,token
Example patch parameters
name_film=Rokky5&date_created=2010-03-03&format=DVD&actor[]=1&actor[]=2&token=01J75shwLQouLzmXiGqBPk5suVw4ljP7HHjxSfuJB4UGLzwTGW56NAdopnOI
required parameters id_user,token,id_film
Example patch parameters user_id=1&token=01J75shwLQouLzmXiGqBPk5suVw4ljP7HHjxSfuJB4UGLzwTGW56NAdopnOI
required parameters firs_name,last_name
Example patch parameters firs_name=first_name&last_name=last_name