Giter Club home page Giter Club logo

bookexchange-sqlite's Introduction

This is an Example Project

It builts up a book exchange platform built in Ruby on Rails.

Installation

Run ‘bundle install` to install all dependencies. You are responsible to provide all of them - it won’t work otherwise.

Run ‘rake db:seed` to fill in demo data (optional).

Run ‘rails server ` to start the development server.

You CAN run some functional tests by entering ‘rake test` to see two example test cases that test the user controller. However, please note that I did not develop this thing test-driven, therefore there are no “real life” tests.

Open your browser of choice and head over to localhost:3000 and have fun.

You CAN log in using some credentials from the db:seed command (i.e. “john”, password: “john123”) or you can have some more fun using the register functionality.

Usage

Register via the register link. Add books you want to get rid of to your virtual library.

Wait for others to register. They will immediately see your enlisted books.

They (and you, on their books) hit “I want it!” on the book’s page to ping you (the others) and you two can get in touch. AWESOME.

Please note:

There is this cute heart icon. You can click on it to invoke the “take” functionality. It is intended to notify a books owner that you’re interested in taking his book. However, I have not implemented a hard core notification method. All “take” does is print “Foo wants to take the book Bar!” to the console!

Free and Open Source

This code is BSD Licensed. Use at own risk, comes as is.

All Icons were found at iconfinder.com - I used free-for-commercial-use icons that did not require a back link. However, I used these icons:

* http://www.iconfinder.com/icondetails/15489/128/bookmark_favourite_glossy_heart_love_icon
* http://www.iconfinder.com/icondetails/61565/128/book_icon
* http://www.iconfinder.com/icondetails/61564/128/book_blue_icon

Author

Hendrik Bergunde <[email protected]> 2012.

bookexchange-sqlite's People

Contributors

hendrikb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.