Skip to content

jcomp-03/note-taker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

note-taker

Project Description

This application makes use of the Express.js web framework for Node.js to store and retrieve notes that the user makes to the application. The Express.js back end serves static HTML files, and is configured to handle GET and POST requests, i.e. retrieve notes from the JSON file and saves notes to the JSON file. This application runs from a server.js file and is deployed to the Heroku platform as a result. In working through this application, a better understanding of how client-side requests relate to server-side responses was reached, as well as gave practice in parsing required and optional parameters when creating the server-side routes. To handle client-side server requests outside of a browser, i.e. testing the validity of our API routes, the REST API client Insomnia was used. Finally, the introduction to Heroku for hosting the Node.js process which powers the application was challengining in a few moments but overall a good experience.

  • Configure an Express.js back end to serve static HTML files.
  • Configure an Express.js back end to create an API to handle GET and POST requests.
  • Parse parameters in server-side routes.
  • Submit form data to a server.
  • Implement separation of concerns for routing.
  • Deploy a server-side application to the Heroku platform.

Table of Contents

Installation

Visit the Heroku deployment at https://jlcomp-03-wk11-note-taker.herokuapp.com/ to test out the app.

Usage

Click on the note title to add a title, then click on the text area to add the note's content.
No video found

License

Copyright 2022

=======================================


Click for the legal stuff, if that's your thing Copyright James Compagnoni

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

Legalese borrowed from here.

Contribute

n/a

Tests

n/a

Questions?

I enjoy hearing back about my work. You can reach me at jcomp_03@yahoo.com. Alternatively, contact me on my GitHub page here.