FlavioAro / node-saving-data-to-json

Nodejs, Express & JSON | Saving data in JSON file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodejs-saving-data-to-json

nodejs-saving-data-to-json is Web Application to save a list of your favorite books. All data are store in a Json file.

ScreenShoot

GitHub Logo

Installation

git clone https://github.com/FlavioAro/nodejs-saving-data-to-json.git
npm install
npm run build
npm start

Environment Variables

  • PORT, this is the http port of the server. by default is 5000.
  • APPID - (optional), this is an unique ID for the application to identify in a load balancer

Also you can create a .env file with the environment variables mentioned above.

Docker

docker build -t express-books .
docker run -p 80:5000 express-books .

then visit: http://localhost

About

Nodejs, Express & JSON | Saving data in JSON file.


Languages

Language:EJS 65.1%Language:JavaScript 32.5%Language:Dockerfile 1.9%Language:CSS 0.4%