Giter Site home page Giter Site logo

note-taker's Introduction

Note Taker

Table of Contents

Description

Note-taking application using an Express.js back-end to save and retrieve note data from a JSON file. Notes can be added, viewed, and deleted utilizing GET, POST, and DELETE requests, while the JSON data can be viewed via the api's GET path.

User Story

GIVEN a note-taking application
WHEN a user opens the application
THEN they are presented with a landing page linking to their notes page

WHEN they click "Get Started"
THEN they are presented with any existing notes listed on the left and fields to enter a new note

WHEN the user enters their note text and title THEN a save icon appears and they can save their note

WHEN they save their note
THEN the note appears in the left sidebar

WHEN the user clicks a note in the sidebar
THEN it is presented in the page's main column

WHEN a user clicks the plus sign icon
THEN they can enter another new note

WHEN the user clicks the delete icon next to an existing note
THEN the note is deleted

Technologies and Tools

  • Node.js
  • Express.js
  • uuid package

Endpoints

api

  • GET /notes
    Returns an array of all existing notes objects.
    • Example response:
[
  {
    "id": "4d2ca0f3-597d-488a-80c7-a8aad04c9b91",
    "title": "Groceries",
    "text": "Bananas, oranges, milk."
  },
  {
    "id": "26d33b16-7277-45f1-b8ec-8acdd5b6fec7",
    "title": "Finish Homework",
    "text": "Due December 5"
  }
]
  • POST /notes
    Creates a new note object.
    • POST body:
{
  "title": "Haircut",
  "text": "Sunday at 9:00AM."
}
  • DELETE /notes/:id
    Deletes a note by id.

Contributing

To contribute to this project, please email me.

Screenshots

Landing page: Landing page

Empty note field: Empty note field

Current note view: Current note view

note-taker's People

Contributors

kayleriegerpatton avatar

Watchers

 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.