GithubHelp home page GithubHelp logo

note-taker's Introduction

Note-Taker

Description

A simple note taking app that runs on a node server.

Screenshot

Final site

Table of Contents

Installation

Simply clone the project and run 'npm install'.

Usage

The user can create simple text-based notes which are saved to a json file for access later. The user is able to create new notes, read older notes and delete notes.

Demo

A demo of this app is deployed at https://bluesatyr-notes-2021.herokuapp.com/

Questions

For additional information on this project contact me by email at [email protected] or visit my GitHub page at https://github.com/bluesatyr.

note-taker's People

Contributors

bluesatyr avatar

Watchers

 avatar

note-taker's Issues

Create a web server

  • create endpoints for serving public pages & api routes
  • create routes for GET, POST and DELETE requests
  • allow users to access notes that are already created in JSON format in db.json file

Handle DELETE requests

Delete a Note

  • clicking on trashcan icon initiates the delete of the note
  • a DELETE request using the note id is sent to server
  • server deletes that note sending back the updated data as a response
  • list auto renders without the deleted note

Allow creation of new data in db.json

Take mock data and create new entries in db.json

  • create callback for POST request from front end

Use 'uuid' to give notes a unique id

  • when a note is created on the server, automatically creates an id and save it as a property of the note object

Use fs to write data to db.json

View and create new notes from the front end.

View Notes

  • use a GET request to access db.json data saved as a local array
  • render a list of notes in notes.html
  • use 'data-note' attribute in list items to hold the individual note's json data
  • integrate note viewing based on click event

Create New Notes

  • allow users to create new notes giving a Title and Text using <textarea>
  • on change, save icon appears
  • clicking on save icon pushes the new note to the server using a POST method
  • Once written, the list refreshes including the new note

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.