Tibil-vishwAAs / Vishwaas

Repo for Backend Service
MIT License
0 stars 7 forks source link

Develop api to create certificate #10

Closed krishnakr6 closed 1 year ago

krishnakr6 commented 1 year ago

Create api - /certificates with POST method . Which accepts Certificate data and creates certificate using sunbird rc

Note: Follow the development principles of vishwaas.

krishnakr6 commented 1 year ago

@Pavan-tibil @Snegha-M @TaherKing Add the respective comments and PR links. Also mention the framework which you have used.

Snegha-M commented 1 year ago

Created endpoint as api/v1/Certificates checking whether the certificate already exists or not using get entity API if certificate already exists returning message as certificate exists or else creating new certificate using create entity API PR link: https://github.com/Tibil-vishwAAs/Vishwaas/pull/6

Framework: Flask

Pavan-tibil commented 1 year ago

Created API end point /certificates and change the strings to constants where ever required. PR link : [https://github.com/Tibil-vishwAAs/Vishwaas/pull/7]()

Framework used - Django-REST-Framework(4.0.3)

Pavan-tibil commented 1 year ago

need to add comments to every functions and need to create one class to handle the response code. Will work on it and complete it by tomorrow.

TaherMakandar commented 1 year ago

Created endpoint as api/v1/Certificates checking whether the certificate already exists or not using RC get entity API if certificate already exists returning message as certificate exists or else creating new certificate using RC create entity API and give certificate created response. PR link : https://github.com/Tibil-vishwAAs/Vishwaas/pull/12 Framework : Spring Boot

Pavan-tibil commented 1 year ago

commented for all the functions and classes and created a class to handle the responses. And completed all the chnages mentioned in issues. PR link - [https://github.com/Tibil-vishwAAs/Vishwaas/pull/7]()

TaherMakandar commented 1 year ago

Added .gitIgnore file and removed unused lines and files https://github.com/Tibil-vishwAAs/Vishwaas/pull/12

TaherMakandar commented 1 year ago

Removed application file https://github.com/Tibil-vishwAAs/Vishwaas/pull/12