An app that can be used to write, save, and delete notes.
1. JavaScript :
2. CSS
3. Bootsrtap
4. HTML
5. Express.js :
-
Web Applications : Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
-
APIs : With a myriad of HTTP utility methods and middleware, creating a robust API is quick and easy.
-
Performance : Express provides a thin layer of fundamental web application features, without obscuring Node.js features.
6. Node.js :
-
Node.js is an open-source and cross-platform JavaScript runtime environment.
-
A Node.js app is run in a single process, without creating a new thread for every request.
-
Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking.
7. uuid : Creates random unique id's.
-
Clone this repository to use this application on local machine, then npm i
-
To install necessary dependencies, run the following command :
npm i fs, npm i express, npm i uuid, npm i -D nodemon
-
npm run dev ( to run the app with nodemon)
-
The application will be invoked with the following command: This will start localhost server on PORT 3000*.*
node server.js
-
Open browser and type http://localhost:3000/ to run this application on your local machine
-
Used 'Express.js' to build server
-
Used 'fs(File System)' module to read and write from 'db.json' file.
-
Used uuid npm package to give unique id to each note.
-
Application is deployed on heroku : Heroku is a container-based cloud Platform as a Service (PaaS). Developers use Heroku to deploy, manage, and scale modern apps.
Watch me do it here: by clicking here #4
https://whispering-crag-45136.herokuapp.com/
made by jugurta maouchi