Key Requirements:
- X Bookmark
- X Topic
- X User
- X As a user, I want to sign up for a free account by providing a user name, password and email
- X As a user, I want to sign in and out of Blocmarks
- X As a user, I want to see an index of all topics and their bookmarks
- X Allow users to create and destroy topics from the topics index view.
- X Clicking on a topic should take the user to that topic's show view and display only those bookmarks which belong to it
- X As a user, I want to create, read, update, and delete bookmarks
- X As a user, I want to be the only one allowed to delete and update my bookmarks
- X As a user, I want to "like and unlike" bookmarks created by other users
- X As a user, I want to see a list of bookmarks on my personal profile that I've added or liked
- X As a user, I want to email a URL to Blocmarks and have it saved in the Blocmarks database
- Bootstrap -> formatting
- Fix sign-in view to only require email and password
- Fix signup confirm alert
- Paginate topics#index
- add automated tests for bookmark crud features
- restyle like/unlike buttons
- fix dropdown menu
- add topic dividers to users#show view
- change redierect for edit/delete depending on context
- use ajax for like/unlike to prevent reloading of entire page_load
- write tests to cover all features
$ createuser --createdb --login -P bookmark```
* Database initialization
modify config/database.yml to include username and password under host
run:
bin/rails db:create
bin/rails db:migrate