Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/khalilgharbaoui/inquiries-maker

Inquiries Maker Rails 5.2.6 application. Uses RabbitMQ as message broker/queuer, Sneakers as an ActiveJob adapter for background jobs/workers and Postgres as database. Each entity runs in its own docker container. Orchestrated with docker-compose, for production or staging. But it also has a Capistrano setup for a lesser production server.
https://github.com/khalilgharbaoui/inquiries-maker

activejob application backend background-jobs capistrano database docker email-sender i18n inquiries-maker jobs monit passenger rabbitmq rails ruby sidekiq tests transciever validation

Last synced: about 1 month ago
JSON representation

Inquiries Maker Rails 5.2.6 application. Uses RabbitMQ as message broker/queuer, Sneakers as an ActiveJob adapter for background jobs/workers and Postgres as database. Each entity runs in its own docker container. Orchestrated with docker-compose, for production or staging. But it also has a Capistrano setup for a lesser production server.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/khalilgharbaoui/inquiries-maker.svg?branch=master)](https://travis-ci.org/khalilgharbaoui/inquiries-maker)
Inquiries Maker
================

![](https://github.com/khalilgharbaoui/inquiries-maker/raw/master/Inquiries-maker.png)

Issues?
-----------

No issues yet.

Ruby on Rails
-------------

This application requires:

- Ruby 2.5.5
- Rails 5.2.3

Getting Started
---------------
### TODO:
- Improve readme [ ]
- Web server for development? [passenger]
- Web server for production? [passenger]
- Database used in development? [mysql]
- Template engine? [slim]
- Test framework? [rspec]
- Continuous testing? [guard]
- Front-end & Admin framework? [bootstrap4]
- Add support for sending email? [smtp]
- Authentication? [devise]
- Devise modules? [ ]
- OmniAuth provider? [ ]
- Authorization? [ ]
- Set a locale? [de | fr | en]
- Install page-view analytics? [ga]
- Add a deployment mechanism? [capistrano3 | docker]
- Set a robots.txt file to ban spiders? [ ]
- Create a GitHub repository? [true]
- Improve error reporting with 'better_errors' during development? [true]
- Use 'pry' as console replacement during development and test? [true]
- Improve Admin styling... []
- Add notifications to my Telegram [].
- ReactJS snippet with the form in it connecting trough JSON to the main app []

Documentation and Support:
-------------------------

The current forms on this application are not limited to it and can be embedded in
any kind of application or website with or without JavaScript involvement.

The form will be be full screen. But can be responsive to fit in a
limited width container or for mobile view.

Example of a php short-code function for a WordPress web-application page.

Shortcode:
`[uos_form src"moving"]`

```PHP
# theme/functions.php

// Add Shortcode
function get_uos_form( $atts ) {

// Attributes
$atts = shortcode_atts(
array(
'src' => '',
),
$atts,
'uos_form'
);
// form types
$inquiry_type = array(
'moving' => '//RAILS_APP_URL/moving_inquiries/new',
'cleaning' => '//RAILS_APP_URL/cleaning_inquiries/new',
'combined' => '//RAILS_APP_URL/combined_inquiries/new',
);

// Return custom iframe code
return '
';

}
add_shortcode( 'uos_form', 'get_uos_form' );
```

Example of a simple HTML iframe.

```HTML

```
##### This comes on the client side and injects metadata into the iframe

```HTML

var receiver = document.getElementById('iFrameResizer0').contentWindow;

setInterval(function(){
receiver.postMessage({
"hostname": window.location.hostname,
"path": window.location.pathname,
"referrer": document.referrer,
"ip": userip // from "https://www.l2.io/ip.js?var=userip"
}, '*');
}, 1300);

```

Example of ReactJS snippet:

Coming Soon....

Issues
-------------

Related Projects
----------------
lead-extractor
umzug-offerte-schweiz

Contributing
------------

Credits
-------

License
-------

## License
Mine and mine alone!