Search Engine using Node and Elasticsearch
# Clone the project
git clone [email protected]:pranavpr/node-search-engine.git
cd node-search-engine
# Install dependencies
npm install
# or if you're using Yarn
yarnIf you don't use Yarn you can just replace yarn with npm in the commands that follow.
Then you can begin development:
yarn devThis will launch a nodemon process for automatic server restarts when your code changes.
Testing is powered by Jest. This project also uses supertest for demonstrating a simple routing smoke test suite. Feel free to remove supertest entirely if you don't wish to use it.
Start the test runner in watch mode with:
yarn testYou can also generate coverage with:
yarn test --coverageThe project uses dotenv for setting environmental variables. Check .env and update env vars as you see fit.
yarn run buildwill compile your src into /dist for production deployment.
MIT License. See the LICENSE file.