Skip to content

isuruAb/boggle-back

Repository files navigation

Boggle Game -Backend

Boggle is a word game that is played on a 4x4 board with 16 letter tiles. The goal is to find as many words as possible given a time constraint.
For this exercise, we are making one modification. Now it is possible for one or more of the letter tiles to be blank (denoted by *).
When a tile is blank, it can be treated as any other letter. Note that in one game it does not have to be the same character for each word.

Setup - Manual

  • Clone the project and move to the project directory using terminal
  • Install dependencies using this command bundle install
  • Before go to below steps you have to start 'MYSQL server' and update your database details(port, username, password etc) in 'config/database.yml'
  • Create a database using this command rails db:create
  • Migrate tables to the database using this rails db:migrate
  • Run the application using this command rails s this will run the application on port 3001 (you should have rails installed in your computer)

If needed

Frontend Application

API Documentation

Dependencies

Docker deployment

  • Start the app docker-compose up -d this will expose the application form http://localhost:3001
  • Apply database migration docker-compose run --rm app rails db:create db:migrate db:seed you need to do this before use the application

Game Play Demo

Please refer below link to watch game play demo video https://youtu.be/clhoTFMFqYg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published