Google Forms clone build in Angular + Rails
Ruby on Rails Api for OneBitFormsClient (Google Forms Clone)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You must have docker and docker-compose installed
For more information, please see https://docs.docker.com/install/
Access the project folder in your terminal enter the following
$ docker-compose build
$ docker-compose run --rm app bundle install
$ docker-compose run --rm app bundle exec rails db:create
$ docker-compose run --rm app bundle exec rails db:migrate
After that for test the installation enter the following to up the server
$ docker-compose up
Open your browser and access localhost:3000 to see the home page
To run the tests run the following in your terminal
$ docker-compose run --rm app bundle exec rspec
You must have ruby and bundler gem installed
For more information, please see https://www.ruby-lang.org/en/documentation/installation/
Access the project folder in your terminal enter the following
$ bundle install
$ bundle exec rails db:create
$ bundle exec rails db:migrate
After that for test the installation enter the following to up the server
$ bundle exec rails s
Open your browser and access localhost:3000 to see the home page
To run the tests run the following in your terminal
$ bundle exec rspec
- Ruby on Rails - The web framework used
- Devise Token Auth - Authentication Token
- Rack Cors - Cross-Origin Resource Sharing (CORS) for Rack compatible web applications.
- Rack Attack - Rack middleware for blocking & throttling abusive requests
- Friendly Id - "Swiss Army bulldozer" of slugging and permalink plugins for Active Record
- OmniAuth - Standardizes multi-provider authentication for web applications
- PostgreSQL - SGDB
- Rspec Rails - RSpec testing framework to Ruby on Rails as a drop-in alternative to its default testing framework, Minitest.
- Factory Bot Rails - Fixtures replacement with a straightforward definition syntax
- FFaker - Easily generate fake data
- André Gonçalves Rodrigues - andregr15
This project is licensed under the MIT License