Project

model_info

0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
ModelInfo provides the UI interface for the CRUD of all models (including engine's) and their associated models. It also enables the admin to download the CSV and JSON format data of all the Models and their associated Models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 5.2.3
~> 1.2.2
 Project Readme

ModelInfo¶ ↑

ModelInfo provides the API support for all models to fetch the model information.

ModelInfo also provides the UI interface for the CRUD of all models (including engine’s) and their associated models. It also provides you the download link for CSV and JSON format of Model’s data.

API ¶ ↑

It provides the API support for all models to fetch the model information suppose we have a model Article

Then the API’s will be

  • GET /model_info/api/v1/articles(.:format)

  • POST /api/v1/articles(.:format)

  • GET /api/v1/articles/:id(.:format)

  • PUT /api/v1/articles/:id(.:format)

  • DELETE /api/v1/articles/:id(.:format)

Installation¶ ↑

Add this line to your application’s Gemfile:

gem 'model_info'

And then execute:

$ bundle

Usage¶ ↑

After successful installation of gem the UI interface will be available on

your_application_url /model_info/models

example: localhost:3000/model_info

To use the API of model_info Please curl the request or use any API platform for using this.