Giter Site home page Giter Site logo

clickview-backend-practical's Introduction

ClickView Videos API

A backend api that allows to view, add, update and delete videos. It is able to fetch videos by specifying a folder name or tags. Uses nodejs and express as a backend service and mongo as the database.

Setup

  • Make sure you have Node.js and Mongodb installed on your machine
  • git clone this repo
  • cd into the directory and npm install so that you have all the dependencies needed to run the program.
  • run nodemon or npm start to start the server and the database http://localhost:3000

API

  • GET - View all videos: /api/videos

  • POST - Create or update a video: api/videos:

    • Data must be sent with the body of the request (use postman)
    • To update a specific video you must include the video name with updated fields in the body of the request
  • DELETE - Delete a video: api/videos/video_id:

    • Include the video id in the url parameter.
  • POST - Fetch videos by folder: /api/videos/folder

    • Folder name must be included in the body of the request e.g. folder: "Senior"
  • POST - Fetch videos by tags: /api/videos/tag

    • Tags name must be included in the body of the request e.g. tags: "ABC"

clickview-backend-practical's People

Contributors

samikhalildev avatar

Watchers

James Cloos 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.