Skip to content

youichiro/rails-vue-file-uploader-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

rails-vue-file-uploader-sample

Rails API + Vue の構成で、Active Storageを使って画像をアップロード・表示するためのサンプルプロジェクトです

output

versions

  • ruby 2.7.1
  • rails 6.0.3.4
  • vue 2.6.12
  • vue/cli 4.3.1

setup

$ git clone https://github.com/youichiro/rails-vue-file-uploader-sample.git
$ cd rails-vue-file-uploader-sample

# Rails
$ cd backend
$ vim config/database.yml  # edit database settings
$ rails db:create
$ rails db:migarate
$ rails s

# Vue
$ cd frontend
$ npm install
$ npm run serve
$ open http://localhost:8080

About

Rails API + Vue でActive Storageを使う

Topics

Resources

Stars

Watchers

Forks