Skip to content

phobco/bbq-app

Repository files navigation

"BBQ" — "Шашлыки"

Ruby: 2.7.4 Rails: 6.1.4 Language Russian

About

An application where you can create events and meetings, subscribe to them, add photos, comments, mark a place on the map and receive email notifications.

Quick registration via: Google, Github, VKontakte

The location of the event is displayed in Yandex.Maps

Images and photos are stored on Amazon S3 bucket.

Gems used

Installation

  1. Set up config/database.yml.example for your database and rename it
$ mv config/database.yml.example config/database.yml
  1. Install gems
$ bundle
  1. Create database and run migrations
$ rails db:create
$ rails db:migrate
  1. Generate master.key and credentials file
$ EDITOR=nano rails credentials:edit

Example of credentials.yml.enc (Optional for services working)

# AWS and Mailjet for production mode only
aws:
  s3_access_key_id: <value>
  s3_secret_access_key: <value>
  s3_region: <value>
  s3_bucket_name: <value>
mail:
  default_mail: <value>
  mailjet_api_key: <value>
  mailjet_secret_key: <value>
maps:
  api_key: <value>
oauth:
  vkontakte_app_id: <value>
  vkontakte_secret_key: <value>
  github_client_id: <value>
  github_secret_key: <value>
  google_oauth2_app_id: <value>
  google_oauth2_secret_key: <value>

:awsAmazon S3

:mailMailjet

:mapsYandex.Maps API

:oauthOAuth VK OAuth Github OAuth Google

  1. Start sever
$ bundle exec rails s

Open localhost:3000 in browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published