Skip to content

sboutin44/Ubisense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sebastien Boutin

Ubisense

Pre-Sales Software Engineering Test

REST API Server and Web Client

Description

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.

Environment Details

  • Platform: macOS Monterey version 12.6 (21G115)
  • Node JS: v16.18.0
  • npm: 8.19.2
  • Tested with Chrome: 106.0.5249.119

Run the Code

Server

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

Client

Run:
    Open client.html in a web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published