A small backend for an online currency converter.
For full description, take a look at Backend_remote_exercise.pdf contained within the ext folder.
Clone repository:
git clone [email protected]:fabiomangano/igenius-project.git
To run the project you need to have docker installed.
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).
Run test:
npm test
Pls stop and remove containers, before launch server:
docker-compose down
The postaman apis collection reproduce a set of failure and success cases of the call to the convert endpoint.
- 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.
- Fabio Mangano