A dynamic crossword web app
Cloogle is a web based crossword app allowing users to complete and save crosswords from a historical database of New York Times crossword puzzles hosted here.
This is the repository for the Ruby on Rails backend that serves the JSON API. The frontend api repository resides at: Cloogle-Frontend.
This project uses Rails 5.1.4. It also uses the Postgres database. Go check them out if you don't have them locally installed.
Fork and/or clone the repository down then from within the top level directory run:
rails db:create
rails db:migrate
to get the server database spun up locally. Then
rails s
to get it serving to your local host.
The frontend client is set by default to point to a backend running on localhost:3000 which is the Rails server default if nothing else is running.
api_v1_boards GET /api/v1/boards(.:format) api/v1/boards#index
api_v1_board GET /api/v1/boards/:id(.:format) api/v1/boards#show
api_v1_users POST /api/v1/users(.:format) api/v1/users#create
api_v1_user PATCH /api/v1/users/:id(.:format) api/v1/users#update
PUT /api/v1/users/:id(.:format) api/v1/users#update
api_v1 GET /api/v1/users/:name(.:format) api/v1/users#show
api_v1_board_users POST /api/v1/board_users(.:format) api/v1/board_users#create
GET /api/v1/board_users/:user_id/:board_id(.:format) api/v1/board_users#show
PATCH /api/v1/board_users/:user_id/:board_id(.:format) api/v1/board_users#update
PATCH /api/v1/board_users/progress/:user_id/:board_id(.:format) api/v1/board_users#update_progress
MIT Copyright 2018 Sebastian Royer and Matt McAlister