Skip to content

walkingalchemy/Cloogle-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloogle Crossword

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.

Demo

Cloogle Thumbnail

Installing / Getting started

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 Reference

     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

Licensing

MIT Copyright 2018 Sebastian Royer and Matt McAlister

Thanks to:

Icon pack by Icons8

About

A dynamic crossword web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%