Sebastien Boutin
REST API Server and Web Client
This is my implementation of a small REST API as described in the exercise, and a web client which consists of a single HTML file with JavaScript in it for the backend.
It is composed of 2 files:
- server.js: Implements the REST API.
- client.html: Implements the web client. You only need a web browser to open it.
- Platform: macOS Monterey version 12.6 (21G115)
- Node JS: v16.18.0
- npm: 8.19.2
- Tested with Chrome: 106.0.5249.119
Install:
1. Clone this Git repository.
2. Download nodejs: https://nodejs.org
3. From a terminal, run this:
$ cd <repo directory>
$ npm init -y
$ npm install express
$ npm install --save cors
Run:
$ node server.js
Run:
Open client.html in a web browser.