We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
relates #5
POST api/v1/kindergarten
INSERT INTO kindergarten (kindergarten_name,cover_image,description,phone_number,latitude,longitude,min_price,max_price,periods,images_gallery) VALUES (kindergarten_name,cover_image,description,phone_number,latitude,longitude,min_price,max_price,periods,images_gallery)
{ StatusCode: 200, message: 'Kindergarten has been added successfully', }
{statusCode:400, message:"Bad Request"}
to be a successful test
{ kindergartenName: yup.string().required(), coverImage: yup.string().url().required(), description: yup.string().required(), phoneNumber: yup.number().required(), periods: yup.string(), latitude: yup.number(), longitude: yup.number(), minPrice: yup.number(), maxPrice: yup.number(), imagesGallery: yup.string(), }
The text was updated successfully, but these errors were encountered:
create addkindergarten query in the addKindergarten file
91a17e1
Relates #18
solve problem in the branch
d522bb7
create addKindergartenQuery and router and controller
5f90375
changes in query and add the test code
ea4a6fb
alaa-sahloub
Successfully merging a pull request may close this issue.
relates #5
Route:
POST api/v1/kindergarten
Acceptance Criteria
DB query
Response
Testing
to be a successful test
Validation
The text was updated successfully, but these errors were encountered: