Skip to content

The Survey Rails App is web application where users can create their own surveys.

Notifications You must be signed in to change notification settings

Jorge-Ortiz-Mata/Survey-Rails-App

Repository files navigation

Survey Rails App.

The Survey Rails App is a web application where users can create surveys and send them to other participants. Participants will be able to answer this survey without being registered in the platorm. All updates within the application are being executed using Hotwire, Stimulus JS and Turbo-Streams.

Clone Project.

In order to have a copy of this web application, follow the next instructions:

  1. Be sure to have Docker install in your local computer.

  2. If you are using docker in your desktop, open the application. If your using WSL, run the next command: sudo service docker start

  3. Clone the repo: git clone https://github.com/Jorge-Ortiz-Mata/Survey-Rails-App.git

  4. Add the .env file in the root with your Sendgrid Api Key.

  5. Open a new terminal in the project and run the next command: docker compose build.

  6. Run: docker compose up

  7. Once the container is online, run: docker compose run web rails assets:precompile.

  8. If it's not working, run: docker compose run web rails tailwindcss:install

  9. And run: docker compose run web rails tailwindcss:build

  10. Enjoy!

Images.

This is the root_path if user is not registered.

Once the user is registered, the root_path changed.

Database.

In this section, you will find the DB schema developed in this project.

Features.

  • Users can register in the platform.
  • Users can create Surveys, Evaluations and Chapters.
  • Surveys can be shared by email.
  • Survey results can be downloaded in CSV Format.
  • All updates are being made with Hotwire (no reload needed).
  • Users can share surveys by email.
  • Participants can answer the survey without being registered in the platform.
  • Users can see participants' progress.

Glosary.

  • Evaluations. An evaluation contains questions and options.
  • Chaperts. A chapter contains information to explain what the evaluation is about.
  • Surveys. A survey contains evaluations and chapters.

Services.

Software and versions.

  • VS Code.
  • WSL.
  • Docker 20.18
  • Ruby 3.0.4
  • Ruby on Rails 7
  • Hotwire, Stimulus JS and Turbo-Stream.
  • TailwindCSS
  • Sendgrid.
  • PostgreSQL.

Author

About

The Survey Rails App is web application where users can create their own surveys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published