The server-side code for Megaphone Magazine's App, helps customers find and pay vendors on the streets of Vancouver and Victoria, BC. You can use this code under Non-Profit Open Software license and make the necessary changes to make it work with your street paper and your city.
This backend service is built with Ruby on Rails.
You will need the following things properly installed on your computer or set up:
git clone <repository-url>
this repository- change into the new directory
bundle install
rails server
Make sure you have the following environment variables set up:
- Stripe:
STRIPE_PUBLISHABLE_KEY
andSTRIPE_SECRET_KEY
- AWS and S3:
ACCESS_KEY_ID
,SECRET_ACCESS_KEY
,S3_REGION
andS3_BUCKET
- FCM:
FCM_ACCESS_TOKEN