Sketchit is not your ordinary game of pictionary. Invite your friends to play an exciting version of pictionary with powerups and debuffs like you've never seen before.
Backend: Ruby on Rails, Postgresql, ActionCable
Frontend: React, Redux, React Bootstrap
Complete: Lobby and drawing functionalities have been built. The app currenly functions as a live-sketchpad for users to draw together.
Next step: Implementing ActionCable functionality for controlling the Game across multiple consumers.
Video Demo of Lobby and Drawing Features
Blog about setting up ActionCable with React
Before you continue, ensure you have met the following requirements:
- You have installed the latest version of Ruby and Ruby on Rails
- You have a local PostgreSQL server
- You have installed the latest version of npm
- Download or clone repository
- Install dependencies:
- From backend directory, run
bundle install
in console - From frontend directory, run
npm install
in console
- From backend directory, run
- Setup Postgresql Server
- In backend directory, create a
.env
file - Refer to
database.yml
file in the backend directory for which values to add to your.env
file - Run
rails db:create
in console to ensure setup works
- In backend directory, create a
- Run servers
- From backend directory, run
rails s -p 8000
in console. If using a different port, please updateBASEURL
constants infrontend/src/actions/*
files. - From frontend directory, run
npm start
in console
- From backend directory, run
- If app doesn't automatically open in your browser, go to
localhost:3000
to view the app
Jesse Gan
- Github: @jessegan
- Medium: @jesse.gan
This project is MIT licensed.