This Sinatra Application allows Users to submit haunted spots/ghost sightings to a city's directory of hauntings. Users can also verify they have been to a haunted spot another user has submitted, and add it to their own list of user list of spots they've visited. A leaderboard tracks which users have experienced the most ghost sightings, and an alternate leaderboard tracks which spots are the most haunted (have had the most sightings by ghostsightings users).
To watch a demo of the Sinatra CRUD Application in action you can visit:
Blog Post with Further Explanation on ActiveRecord Relationships/Join Tables in this project: Here
Add this line to your application's Gemfile:
$ git clone https://github.com/hopegipson/Spooky_Sightings.git
$ bundle install
User will also need to add an environmental variable to system or add a .env file to root file of directory to save ENV['SECRET_KEY'].
Run:
$ rake db:migrate
$ rake db:seed
$ shotgun
The app will be using localhost:9393 by default.
Bug reports and pull requests are welcome on GitHub here.This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
-Fork this repository.
-Create a branch: git checkout -b <branch_name>.
-Make your changes and commit them: git commit -m '<commit_message>'
-Push to the original branch: git push origin Spotify_Clone/master
-Create the pull request.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Spooky Sightings project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.