Code Monkey home page Code Monkey logo

bucketlist-api's Introduction

BucketList-API

Build Status Coverage Status

BucketList API is the backend component of a platform where users can create a bucket list.

Required Features

User can sign up.
User can sign in.
User can create a new bucket list
User can update this bucket list.
User can delete a single bucket list.
User can view all the created bucket lists.
User can view a specific single bucket list by id.
User can view bucket lists by search.
User can create a new item in bucket list.
User can view list all the created items in a bucket list.
User can get a single item in a bucket list.
User can update a bucket list item.
User can delete an item in a bucket list.

Installation and Running the Application

Ensure that you have nodejs and npm installed in your computer

a. Clone this repository into your named folder

git clone -b master https://github.com/markeu/BucketList-API
git status

b. Install the project dependencies

npm install

c. start the application

npm start

Test the endpoints

The application can be tested locally through localhost on port 5555 using postman

  1. Run the application while postman is open
  2. Go to postman and test against the endpoints below with the required property:-

Endpoints to test

Method Endpoint Enable a user to:
POST api/v1/auth/signup Create user account
POST api/v1/auth/login Login a user
POST api/v1/bucketLists create a new bucket list
GET api/v1/bucketLists view all the created bucket lists
GET api/v1/bucketLists/search?q=โ€‹ :bucketName view bucket lists by search
GET api/v1//bucketLists/:id view a specific single bucket list by id
PUT api/v1/bucketLists/:id update this bucket list
DELETE api/v1/bucketLists/:id delete a single bucket list
POST api/v1/bucketLists/:id/items list all the created items in a bucket list
GET api/v1/bucketLists/:id/items View all bucket list items
GET api/v1/bucketLists/:id/items/:id view specific bucket list item
PUT api/v1/bucketLists/:id/items/:id Update a specific bucket list item
DELETE api/v1/bucketLists/:id/items/:id Delete specific bucket list item

Author

  • Uche Uzochukwu Mark

bucketlist-api's People

Contributors

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