Closed sathudeva7 closed 10 months ago
The purpose of this PR is to fix #37
This issue involves implementing an API to Add platform details. The endpoint should allow Admin to make a POST request to {{baseUrl}}/api/admin/platform.
const platformRepository = dataSource.getRepository(Platform) const newPlatform = new Platform( description, mentor_questions, image_url, landing_page_url, email_templates, title ) const savedPlatform = await platformRepository.save(newPlatform)
"Implement Get platform details endpoint (Admin) #35" task also pushed
Purpose
The purpose of this PR is to fix #37
Goals
This issue involves implementing an API to Add platform details. The endpoint should allow Admin to make a POST request to {{baseUrl}}/api/admin/platform.
Approach
Screenshots
Checklist
Related PRs
## Test environment ## Learning