Skip to content

meta-morpho-sys/new_bookmark_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookmark Manager

App developed during Makers Academy course for the purpose of studying the Sinatra framework, Databases and ORM. The focus in this project was on building from scratch an ORM tool with the aid of SQL and Ruby to store data in a database, convert it into objects and use it within the app.

With this app you can store and display all links that you want to keep within easy reach. You can make as many bookmarks as you wish, update them, leave comments and assign tags, and when you no longer need your bookmarks, you can easily remove them.

Technologies used

App:

  • Sinatra - Quick tool for creating web applications
  • PG - The Ruby PostgreSQL Driver
  • BCrypt - Security algorithm for hashing passwords
  • Rake - task management and build automation tool

Testing:

  • RSpec - Behaviour Driven Development for Ruby
  • Capybara - Simulator of how a user interacts with the app.

Prerequisites

The PostgreSQL database management system should be installed on your system.

Getting started:

To get started with Bookmark Manager:
$ git clone https://github.com/meta-morpho-sys/new_bookmark_manager
$ cd new_bookmark_manager
$ bundle install
$ rake create_databases
$ rspec
also

you can run $ rake to display all existing tasks for the database.

This will give you the application, and set up two databases: new_bookmark_manager for the development environment, and new_bookmark_manager_test for the test environment.

To launch the app in the browser:

From the command line cd into the app's directory and type the rackup command.

Security

Specify your session secret key as the environmental variable SESSION_SECRET. If you don't specify this, the app will generate it's own 20 character SecureRandom secret.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published