Skip to content

fabiomangano/igenius-coding-challenge

Repository files navigation

igenius-project

A small backend for an online currency converter.
For full description, take a look at Backend_remote_exercise.pdf contained within the ext folder.

Getting Started

Clone repository:

git clone [email protected]:fabiomangano/igenius-project.git

Prerequisites

To run the project you need to have docker installed.

Running on local environment:

Run:

npm start

Pls stop and remove containers, before launch tests:

docker-compose down

To test that the APIs are working as expected, I suggest use postman. To inspect the db table, you can instead use TablePlus.
Inside ext's folder, you will find a postman apis collection and a connection dump for tableplus (passw: 0000).

Running the tests

Run test:

npm test

Pls stop and remove containers, before launch server:

docker-compose down

Notes

The postaman apis collection reproduce a set of failure and success cases of the call to the convert endpoint.

Built With

  • Node.js - Open-source, cross-platform, JavaScript runtime environment.
  • Express.js - Web application framework for Node.js.
  • Sequelize - Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server
  • PostgreSQL - A powerful, open source object-relational database system.

Author

  • Fabio Mangano

About

A simple backend for an online currency converter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published