YKone Assessment
Assessment Title - Buiding a crawler and implementing an API to consume
Stack Used: Nodejs, ExpressJS, Mysql, Elasticsearch
Commands to run the Project
Make sure to run docker-compose up
to run an MSQL Instance
Elasticsearch running in cloud
.env -> ( Added )
- npm install
- npm run migrate-up -> ( To run migrations for creating table )
- npm run migrate-down -> ( To drop the tables )
- node ./src/app.js -> (start the server)
Architecture of the project
- Crawl the site and get all the data and injest simultaneously into both MSQL and ELASTICSEARCH
- consume the API's to make CRUD opertions
- Search API uses Elasticseach to get data
MYSQL Relations