Skip to content

A Rails API and React front end for betting on sports with friends

Notifications You must be signed in to change notification settings

zarazan/pickle_api

Repository files navigation

README

API Server:

  • Start postgres in the background: docker-compose up -d postgres
  • Start server: docker-compose up api
  • Port: 3001

Web Client

  • Start server: npm run start
  • Port: 3000

Load Odds from API:

  • docker-compose run api rails console
  • LoadOddsService.process

Start over and re-seed database:

  • docker-compose down -v
  • docker-compose up -d postgres
  • docker-compose run api rake db:migrate
  • docker-compose run api rake db:seed

Start over and re-seed database using one line script:

  • scripts/reset

Rails console:

  • scripts/console

Run the test suite:

  • scripts/test

About

A Rails API and React front end for betting on sports with friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published