DEV Community

Anubhav Singh
Anubhav Singh

Posted on • Edited on

AI search

I made an AI in search engine format to probably blow up on the search engines

how does it work

  • Use Express js to make a basic nodejs hoisted website

express js

  • recireving query parameter though express js

query params

  • using google palm 2 and gemini APi to resolve answers

gemini api boilerplate

  • sending back responses of queries res.send(result.response.text());
  • shipping some html with it to add style

some html

  • minor bug fixing

replacing plus with replacement

find the code on replit

demo

try this app here

Top comments (0)