GithubHelp home page GithubHelp logo

paw-kelompok-18's Introduction

TODO CRUD DOCUMENTATION (TodoApp v1)

Important

Below this line is an old TodoAppv1 Documentation. This docs has been updated to v2. To open this app simply go to a. Client: https://pawtodoapp.netlify.app/ b. Server: https://pawtodoserver.herokuapp.com/

1. App Description

This is a basic CRUD (Create, Read, Update, Delete) with Node.js for server-side processing, Express.js for routing HTTP request, and MongoDB for database.

2. Requirements

  1. Install MongoDB and MongoDB Compass on your local machine
  2. Install Postman on your local machine
  3. Install dependencies with npm install

3. How to Use

  1. Create folder in C:/ and name it with data
  2. Create folder in C:/data and name it with db
  3. Start MongoDB server with mongos running in background
  4. Open MongoDB Compass and connect to localhost database http://127.0.0.1:27017
  5. Create new collection and name it todoDB
  6. Move to directory ./todo_crud/TodoApp/
  7. Run node server.js
  8. Test the API with HTTP Request on Postman app
  9. On the body section you can fill required data with JSON format

4. Table of Request Header

Request Header Description
router.post('/', todo.create) create a new todo
router.get('/', todo.findAll) get all todo in the database
router.get('/:id', todo.findOne) get specific todo with specified id
router.put('/:id', todo.update) update specific todo with specified id
router.delete('/:id', todo.delete) delete specific todo with specified id
router.patch('/:id', todo.patch) update one field of todo with specified id

5. Team Member

  1. Muhammad Firas Zahid Suryaatmaja (19/439816/TK/48546)
  2. Wahyu Cahyo W (19/444077/TK/49273)
  3. Vincent Colin (19/44076/48272)
  4. Marthasya Mumtahanah Mustaqimah (19/444059/TK/49255)

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.