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.
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.