Code Monkey home page Code Monkey logo

miya-meshi's Introduction

みやメシ応援隊

Language grade: JavaScript DeepScan grade

みやメシ応援隊サイト みやメシ応援隊Instagram みやメシ応援隊Twitter

Description

Client

Nuxt.js 2.14 (on comopsition api) / TypeScript / FireBase

Admin

Nuxt.js 2.14 (on comopsition api) / TypeScript / FireBase

Backend

Laravel 6 / PHP 7.4 / MySQL / Node.js 12.20.1

Environment setup

環境変数についてはこちらを参照

# メイン画面起動
$ cd client && npm i

$ npm run dev

# 管理者画面起動
$ cd admin && npm i

$ npm run dev

# API起動
$ cd backend

$ docker-compose up -d

$ php -r "file_exists('.env') || copy('.env.example', '.env');"

$ composer install

$ php artisan key:generate

$ php artisan config:cache

$ php artisan serve

DBの再マイグレーション

$ docker-compose exec app php artisan migrate:fresh --seed

Windows

Testing

Client Test

# jest test
$ npm test

Admin Test

# jest test
$ npm test

Backend Test

# Laravel test
$ vendor/bin/phpunit

Docs

トラブルシューティング

MySQLへのアクセス

# Dockerコンテナ立ち上げ
$ docker-compose up -d

# dockerのdbコンテナに入る
$ docker-compose exec db bash

# mysqlにアクセス (password: secret)
$ mysql -u root -p

.vueファイル内でimportのパス解決ができないとき

エディターで開くルートディレクトリを./から./admin./clientに変更するとパスの解決ができた。

miya-meshi's People

Contributors

ebi-web avatar h37kouya avatar shuwa0216 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

usuyuki ebi-web

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.