/json-to-es-mapping

A web application to create and edit elasticsearch mappings from raw json on the go. Just copy and paste raw json and see the mappings. Edit them on live editor as per the use case, and just copy.

Primary LanguageJavaScript

JSON to ES mapping Generator

A web application to create and edit elasticsearch mappings from raw json on the go. Just copy and paste raw json and see the mappings. Edit them on live editor as per the use case, and just copy.

🚀 Quick start

  1. Install all dependencies

    npm install
  2. Run project.

    Navigate into your new site’s directory and start it up.

      npm run start
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

    Open the json-to-es-mapping directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!

🧐 What's inside?

/src/components/service.js: This file contains the transformation logic for converting json to ES mapping.

💫 Deploy

Deploy to Netlify