Skip to content

Giannah/converter-server

Repository files navigation

server

This repo is the server.

It's a NodeJS project.

Formatting & code style are enforced by Eslint & Prettier.

Server uses the web framework ExpressJS.

Note

The exercise is a two-part exercise and therefore there is two branches in that repo.

This branch is the first part and corresponds to the Font-End (converter-client) repo main branch.

In order to use this project:

Clone this repo and then...

Project setup

npm install

Run server

npm start

By default server will be up & running at http://localhost:5000/rest/converter. Hot reload and watch for changes are made through Nodemon.

Run tests

npm test

This part uses the testing framework Jest.

API Endpoints

# POST /

curl -X POST \
 -H "Content-Type: application/json" \
 -d '{"input": 1}'\
 -s http://localhost:5000/rest/converter/

 RESPONSE

 {
     "I"
 }

About

Test technique Jolimoi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published