JacksonKeenan / donut_app

React on Rails Demo App of a Donut Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Stack

  • Frontend - React
  • Backend - Ruby on Rails
  • Database - SQLite

Versions

  • Ruby - 3.1.4
  • Rails - 7.1.2
  • npm - 10.2.4
  • Node - 21.5.0
  • React - 18.2.0

Instructions

  1. Clone this repository
  2. add .env.development to the client directory. In this file should be VITE_API_URL=http://localhost:3000/api/v1
  3. In the root of the project run:
    • bundle
    • rails db:migrate
    • rails db:seed (Optional if you would like to seed dummy data)
    • rails s
  4. In the client direction run:
    • npm install
    • npm run dev
  5. Your app should be running @ http://localhost:5173/

About

React on Rails Demo App of a Donut Store


Languages

Language:JavaScript 54.6%Language:Ruby 38.7%Language:CSS 4.0%Language:Dockerfile 1.8%Language:HTML 0.6%Language:Shell 0.2%