Giter Club home page Giter Club logo

notes-app's Introduction

A NOTES APP

An implementation of a notes app using a note taking api

This api gives access to the file system using the fs module of nodejs. This API will allow you to:

  1. View a list of all existing note files.
  2. Read the content of note files.
  3. Create new note files.
  4. Update existing note files.
  5. Delete a note file.
  6. Rename a note file.

Things to consider:

  1. Review the NoteClass.js file to see the Class described and how it's methods work.
  2. Adjust the directory of the notes you handle from the NoteClass file if you do not like the current structure

How to use:

  1. Open the notes-api.js file and enter the node notes-api.js command
  2. Open the index.html file in your browser to get an interactive UI that allows you to take and manage notes

Testing the API:

The Following require you pass in the specified parameters using the x-www-form-urlencoded option:

  • POST request to the "/create" route by passing in the name and content of the new file.
  • POST request to the "/delete" route by passing in the name of the file you wish to delete.
  • POST request to the "/update" route by passing in the name and content of the file you wish to update.
  • POST request to the "/rename" route by passing in the name and new_name of the file you wish to rename.

There are no dependencies and testing can easily be done via Postman.

Made with love from an intern at WeJapa

notes-app's People

Contributors

davien21 avatar

Watchers

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