Search API using NodeJs | ExpressJs | MongoDB | API Development

Created By: Admin Created At: 07-01-2024
search api
Watch Full video

1. Key features of the project:

1. Search data by Entering a keyword.

2. Search data with specific keywords.

3. Search data globally in the database.

4. Search data from the start of the string.

5. Search data from the end of the string.

2. Steps to set up the project:

a) Download the project:

1. First download the project zip file and extract it on your computer.

b) Installation process:

1. Install node js if you haven’t installed it.

2. Open your terminal with your project root directory and run the command: npm install

c) MongoDB Database setup :

1. log in to the MongoDB database and create a new cluster and database or Mongodb compass string.

2. Change the MongoDB string in the index.js file (MONGOURL) with your database, username, and password.

d) Run the server :

1. Run the server by using the command: npm start