If you would like to see the deployed version please follow the link below
First clone the repo
Before running the application you will need to:
Create a Stripe account:
You will need to use your test API keys in the app:
https://dashboard.stripe.com/test/apikeys
Create a SendGrid account:
You will need to create and use an API key in the app:
https://app.sendgrid.com/settings/api_keys
create a .env
file in the root-directory of the app:
$ touch .env
Add secrets to that file:
cookieSecret="something you want here (nothing specific needed)"
stripeTestKey="your test key goes here"
stripeSecretKey="your secret key goes here"
SENDGRID_API_KEY="your API key goes here"
Bootstrap the database:
-
Install postgreSQL Homebrew(mac/linux)
postgreSQL interactive installer(windows) -
Create the database:
$ createdb -U postgres -w sendipedia-dev
-
Run the migrations:
$ sequelize db:migrate
To run app:
navigate to home directory and run command:
$ npm start