RecursionCS バックエンドプロジェクトの課題です
モックアップページのランダム生成を目的としています
練習用としての側面が強いです
以下のURLにアクセスしてみて下さい
https://restaurant-chain-mockup.onrender.com
※重いのでアクセスに時間かかります。
phpをインストールしてください
一例としてmacとUbuntuを載せておきます
brew update
brew install php
sudo apt update
sudo apt install php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear
./appディレクトリ内で、phpのビルトインサーバをたてて下さい
ポート番号は環境に合わせて任意のものを入力して下さい
例: 8000, 8080, etc...
cd app
php -S localhost:<port番号>
ブラウザを開き、以下のURLを入力してアクセス
https://localhost:<port番号>
# あるいは
localhost:<port番号>
ページを更新し、ランダムにダミーのレストランチェーンが生成されるのを確認して下さい
- 個人的な挑戦として、テストコードを書いています
- 拙いところ等あれば指摘もらえると嬉しいです
- dockerファイル化しデプロイしてみました