# Building a website that uses elastic

**URL:** <https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051>\
**Category:** Elasticsearch\
**Created:** [February 12, 2020, 5:27pm UTC](https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051 "2020-02-12T17:27:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iukea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iukea/32/49083_2.png) [@iukea](https://discuss.elastic.co/u/iukea)\
**Post date:** [February 12, 2020, 5:27pm UTC](https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051/1 "2020-02-12T17:27:47Z")

</div>

Hello,  
I need some wisdom and guidance.

I am trying to build a website where users can submit an IP address into a search box and that search box reaches into an Elasticsearch server and pulls out the data associated with that IP address.

What would be the best way to go about building a website like this? I was hoping to build a website using react JS so I could also make some cool graphs and get the data for those cool graphs the Elasticsearch server also.

All comments are welcome

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [February 12, 2020, 6:32pm UTC](https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051/2 "2020-02-12T18:32:06Z")

</div>

Hi @iukea,

Elastic has the native field datatype IP that is documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/ip.html).

That documentation also has some examples for how to do queries against data that contains this type. That should allow you to run queries that get all the documents in your index associated with a certain IP efficiently.

---

<div class="post-metadata">

**Author:** ![vinu89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinu89/32/45939_2.png) [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Post date:** [February 13, 2020, 10:27am UTC](https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051/3 "2020-02-13T10:27:49Z")

</div>

we have used elastic API in the backend which pulls the data from elastic server and using react u can customise different charts as u want

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2020, 10:39am UTC](https://discuss.elastic.co/t/building-a-website-that-uses-elastic/219051/4 "2020-03-12T10:39:25Z")

</div>

Closed on March 12, 2020, 10:39am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
