currency-api

时间:2021-04-12 16:35:19
【文件属性】:
文件名称:currency-api
文件大小:207KB
文件格式:ZIP
更新时间:2021-04-12 16:35:19
PHP 安装步骤: 将文件env.example复制到.env 在您的项目目录中运行docker-compose up exec composer install在您的docker应用容器中 exec php artisan migrate在您的应用容器中php artisan migrate exec php artisan db:seed在您的应用容器中 更新汇率 exec php artisan currency:fetch在您的应用容器中php artisan currency:fetch 运行测试 在您的应用程序容器中执行php ./vendor/bin/phpunit 终点 GET /currencies列出数据库中的所有货币 GET /currenecirs/{id} -列出该货币的所有汇率 POST /exchange数据: {from: String, to: Strin
【文件预览】:
currency-api-master
----composer.json(2KB)
----phpunit.xml(1KB)
----bootstrap()
--------cache()
--------app.php(2KB)
----config()
--------logging.php(3KB)
--------cache.php(3KB)
--------filesystems.php(2KB)
--------auth.php(3KB)
--------session.php(7KB)
--------mail.php(5KB)
--------broadcasting.php(2KB)
--------queue.php(3KB)
--------view.php(1KB)
--------app.php(9KB)
--------hashing.php(2KB)
--------database.php(5KB)
--------services.php(1024B)
----composer.lock(173KB)
----package.json(1KB)
----artisan(2KB)
----readme.md(643B)
----webpack.mix.js(538B)
----database()
--------factories()
--------migrations()
--------.gitignore(26B)
--------seeds()
----routes()
--------console.php(553B)
--------api.php(610B)
--------web.php(390B)
--------channels.php(508B)
----server.php(563B)
----tests()
--------Unit()
--------CreatesApplication.php(380B)
--------Feature()
--------TestCase.php(163B)
----app()
--------Models()
--------Services()
--------Factories()
--------Http()
--------Providers()
--------Exceptions()
--------Repositories()
--------Console()
----storage()
--------logs()
--------app()
--------framework()
----.env.example(624B)
----docker()
--------nginx()
--------app.dockerfile(623B)
--------web.dockerfile(76B)
--------db.dockerfile(64B)
----docker-compose.yml(816B)
----.gitignore(169B)
----public()
--------css()
--------index.php(2KB)
--------.htaccess(593B)
--------robots.txt(24B)
--------js()
--------web.config(1KB)
--------favicon.ico(0B)
----.styleci.yml(174B)
----.editorconfig(213B)
----.gitattributes(111B)

网友评论