Skip to content

Schedule class times on mindbody.io with this selenium based application

Notifications You must be signed in to change notification settings

alexanderkarlis/mb-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mindbody Scheduler

Mindbody-scheduler is a scheduler to run every alotted time to sign up for classes on mindbody.io for Crossfit ECF only (currently)

Built with Go as the server, Svelte as the client, and Postgres as the database.

> docker-compose build
> docker-compose up

Run locally

Requirements

  • go 1.14+
  • npm 6.9.0+
  • geckodriver (firefox) as the webdriver
  • java sdk 11+
  • xvfb

server

> cd server
> GOOS=linux go build -o backend main.go
> ./backend &  # to run in background

client

> cd web
> npm i
> npm run dev

database

create local Postgres instance with username: postgres & password: postgres

> psql -h 127.0.0.1 -U postgres -d mb_scheduler_db -f scripts/init.sql
> psql -h 127.0.0.1 -U postgres -d mb_scheduler_db -c `Select * from schedule_rt`

About

Schedule class times on mindbody.io with this selenium based application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published