Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid mock data for testing #141

Open
e-wai opened this issue Oct 28, 2022 · 0 comments
Open

Valid mock data for testing #141

e-wai opened this issue Oct 28, 2022 · 0 comments

Comments

@e-wai
Copy link
Contributor

e-wai commented Oct 28, 2022

Implementation description

  • Two valid formatted camps - 63538bc01bf0453b8a55ea1a and 63538da50ec7fc7b4a841085, and sample camp session data to add

Usage

  • Use however needed, can POST into the appropriate endpoint
  • Also nice to cherry-pick and reset --hard HEAD~1 commands onto current branch if you want it temporarily

Useful list:

  • Create sessions: POST localhost:5000/camp/:camp_id/session
  • Create camp: POST localhost:5000/camp, use form-data with "data" key -> see feat: camp model update #62
  • Create campers: POST localhost:5000/campers/register, raw json but warp in []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant