Skip to content

Cooking Recipes website with Rails backend and VueJs frontend

Notifications You must be signed in to change notification settings

minhld99/Recipes-Website

Repository files navigation

Recipes Websites

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)

Prerequisite:

  • Docker
  • For running on local:
    • MySQL
    • Rails
    • VueJS

Member

Build this app using docker (Temporarily Down)

  1. Let's build from scratch
$ docker-compose up --build
  1. Open docker bash and migrate db
$ docker exec -ti rails bash
(docker) $ rails db:migrate

Or run this in dev mode

  1. First clone these two repos to your local, remember to also check the submodule inside this repo
  2. Open rails server
$ cd rails
$ bundle install
$ rake db:migrate
$ rails s
  1. Run vue-app on browser
    (inside this submodule https://github.com/linhntt011199/recipeswebsitefrontend)
$ cd recipeswebsitefrontend
$ npm install
$ npm run serve
  1. Enter this link for login: http://localhost:3000/

Account for testing

- Email: minh@minh.com
- Password: password

About

Cooking Recipes website with Rails backend and VueJs frontend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published