Skip to content

A nifty tool helping people to save their favorite websites! Users can create their accounts and associate each link with tags. If they forget their passwords, they will receive an email allowing to reset their account.

Notifications You must be signed in to change notification settings

binaryberry/bookmark-collector

Repository files navigation

Code Climate

Bookmark Collector

##What is it?

A nifty tool helping people to save their favorite websites! Users can create their accounts and associate each link with tags. If they forget their passwords, they will receive an email allowing to reset it.

##How to run it?

First clone the repo:

$ git clone https://github.com/binaryberry/bookmark-collector.git

Change into the directory

$ cd bookmark-collector

Run bundle to load the required gems

$ bundle

You will need to create the databases locally:

$ psql postgres
  =# create database 'bookmark_collector_test';
  =# create database 'bookmark_collector_development';
  =# \q

Migrate the tables:

$ rake auto_migrate

If you want to see the tests, run Rspec:

$ rspec

How was it done?

TDD-ed using Rspec, and built using Ruby and Sinatra. I used a postgresql database with Datamapper to save user information, and Mailgun to email users a token to reset their password if they forgot it.

I pair programmed with David Wickes the first two days, then one day with Kevin Daniells before finishing the app solo (with some help for the Mailgun bit!).

Which technologies were used?

  • Ruby
  • Rspec
  • Sinatra
  • PostgreSQL
  • Datamapper
  • Mailgun
  • CSS

What did I learn?

  • Writing a server, handling routes
  • Feature testing
  • Handling databases
  • Creating user sessions, and allowing users to reset their passwords
  • Styling with css

About

A nifty tool helping people to save their favorite websites! Users can create their accounts and associate each link with tags. If they forget their passwords, they will receive an email allowing to reset their account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •