This project contains a solution to the task of searching for records in the database table. Postgresql was selected as the database client.
- Run in terminal:
git clone https://github.com/aNNiPAk/example-database-search.git
cd example-database-search
npm install
- Create a database based on ./migration/database.sql
- Configure the connection to the created database in ./config/connect_to_db.js
To use it, run:
npm start
To run the tests, launch:
npm test