ucsb-cs156-s24 / proj-organic-s24-5pm-3

https://ucsb-cs156-s24.github.io/proj-organic-s24-5pm-3/
0 stars 1 forks source link

Linked API to Create School button, added tests and Storybook v.2 #70

Closed sherpatran closed 1 month ago

sherpatran commented 1 month ago

Made sure that the CreateSchool button is working. Connected it to the proper Schools POST api and added the tests/storybook for that feature.

The parameter termRegex had to be encoded because of the disallowed characters "[" and "\". This allows termRegex to be passed through the frontend without any issues. Then, to get the accurate value passed into the backend, termRegex is decoded in the SchoolController.

https://organic-sherpatran-dev.dokku-11.cs.ucsb.edu/

Closes https://github.com/ucsb-cs156-s24/proj-organic-s24-5pm-3/issues/7 and closes https://github.com/ucsb-cs156-s24/proj-organic-s24-5pm-3/issues/8.

yuxiaolejs commented 1 month ago

I have merged 74 into this PR, so if this one gets merged, we just

Closes #74