Skip to content

Repository files navigation

Pet Rock

A virtual pet rock game where you care for and nurture your pet rock. Keep it happy and healthy, or watch it slowly die.

image

Tech Stack

Backend: Ruby on Rails 7.1, PostgreSQL, Redis, Devise (auth), GoodJob (background jobs)

Frontend: React 18, TailwindCSS, ActionCable (real-time updates)

Infrastructure: Docker Compose

Features

  • User authentication
  • Pet rock care system (feeding, happiness tracking)
  • Rock health & mood states (happy/meh/sad)
  • Achievement system
  • Email notifications (creation, warnings, death)
  • Real-time updates via WebSockets
  • Rock can die if neglected

Setup

Prerequisites: Docker & Docker Compose

# Start all services
docker-compose up
# Access the application# Frontend: http://localhost:3001# Backend API: http://localhost:3000# Mailcatcher: http://localhost:1080

Project Structure

  • /pet-rock-backend - Rails API
  • /pet-rock-frontend - React SPA

About

A virtual pet rock game where you care for and nurture your pet rock.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages