Git Product home page Git Product logo

ladyb_bucketlist's Introduction

Ladyb BucketList API

Code Climate Test Coverage Issue Count Coverage Status

Rails API for a bucket list service.

Bucketlist API is an API that allows consumers to signup, create bucketlists and add items to their lists.

It can be tested on Apiary ( http://docs.ladybbucketlist.apiary.io/# )

This API was done by Miss Blessing Ebowe as part of the Andela program requirements.

Description

  • This is an API which can be used by a consumer to create Bucket lists to which he can add Items.
  • To access this service the API consumer has to have signed up and log in, where he gets a token valid for 24 hours after which he has to log in again.
  • CRUD operations can be carried out on the bucket list and an item within a bucket list.

Features

Various EndPoints are available for this API see below.

EndPoint Functionality
POST /auth/login Logs a user in
GET /auth/logout Logs a user out
POST /bucketlists/ Create a new bucket list
GET /bucketlists/ List all the created bucket lists
GET /bucketlists/<id> Get single bucket list
PUT /bucketlists/ Update this bucket list
DELETE /bucketlists/<id> Delete this single bucket list
POST /bucketlists/<id>/items/ Create a new item in bucket list
PUT /bucketlists/<id>/items/<item_id> Update a bucket list item
DELETE /bucketlists/<id>/items/<item_id> Delete an item in a bucket list

For complete API documentation visit ( http://docs.ladybbucketlist.apiary.io )

Contributing

  1. Fork it ( https://github.com/[andela-bebowe]/ladyb_bucketlist/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request.

Development Dependencies

  • This API was built using rails-api.
  • JWT using ruby-jwt gem for token authentication
  • rack-cors gem for Cross Origin Resource Sharing setup
  • RSpec for testing.

ladyb_bucketlist's People

Contributors

refinedblessing avatar

Stargazers

 avatar  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.