API Recipes Websites with VueJS frontend & Rails backend.
Database is stored on phpmyadmin.
Recipe's Image is uploaded to Google Cloud Storage.
(contact me for granting access key to this repo)
- Docker
- For running on local:
- MySQL
- Rails
- VueJS
- Let's build from scratch
$ docker-compose up --build
- Open docker bash and migrate db
$ docker exec -ti rails bash
(docker) $ rails db:migrate
- First clone these two repos to your local, remember to also check the submodule inside this repo
- Open rails server
$ cd rails
$ bundle install
$ rake db:migrate
$ rails s
- Run vue-app on browser
(inside this submodule https://github.com/linhntt011199/recipeswebsitefrontend)
$ cd recipeswebsitefrontend
$ npm install
$ npm run serve
- Enter this link for login: http://localhost:3000/
- Email: minh@minh.com
- Password: password