国家API

时间:2021-02-13 00:55:27
【文件属性】:
文件名称:国家API
文件大小:79KB
文件格式:ZIP
更新时间:2021-02-13 00:55:27
PHP 国家API 一个Laravel应用程序,它用作National-ui react应用程序的后端。 国家API仅具有可用的一个端点,该端点在routes\api.php定义。 端点期望发布请求,该请求已针对app/Http/Requests/StoreCustomer.php的StoreCustomer FormRequest进行了验证如果请求参数通过验证,则CustomerController@store将创建一个新的Customer模型以保留数据。 数据库 National API具有一个迁移文件,该文件创建具有以下定义的表 create table customers ( id bigint unsigned auto_increment primary key, first_name varchar(150) not null, last
【文件预览】:
national-api-main
----bootstrap()
--------cache()
--------app.php(2KB)
----.env.example(794B)
----.gitattributes(111B)
----public()
--------web.config(1KB)
--------robots.txt(24B)
--------favicon.ico(0B)
--------index.php(2KB)
--------.htaccess(603B)
----database()
--------seeders()
--------migrations()
--------.gitignore(26B)
--------factories()
----artisan(2KB)
----webpack.mix.js(559B)
----config()
--------services.php(950B)
--------view.php(1KB)
--------database.php(5KB)
--------hashing.php(2KB)
--------queue.php(3KB)
--------logging.php(3KB)
--------cors.php(823B)
--------filesystems.php(3KB)
--------broadcasting.php(2KB)
--------session.php(7KB)
--------app.php(9KB)
--------auth.php(4KB)
--------cache.php(3KB)
--------mail.php(3KB)
----composer.lock(249KB)
----phpunit.xml(1KB)
----README.md(1KB)
----resources()
--------js()
--------css()
--------lang()
----.styleci.yml(181B)
----.editorconfig(220B)
----tests()
--------TestCase.php(163B)
--------Unit()
--------Feature()
--------CreatesApplication.php(380B)
----.gitignore(170B)
----storage()
--------logs()
--------app()
--------framework()
----app()
--------Http()
--------Providers()
--------Models()
--------Exceptions()
--------Console()
----server.php(563B)
----routes()
--------console.php(592B)
--------channels.php(558B)
--------api.php(538B)
--------web.php(430B)
----package.json(974B)
----composer.json(2KB)

网友评论