Yashasv-Prajapati / Docify

5 stars 2 forks source link

Added API for Import Project #82

Closed sarvo314 closed 3 months ago

sarvo314 commented 4 months ago

What it does? GET, PUT, POST, DELETE Operation on a DATA_SOURCE_URL

Is this what was required for the project?

linear[bot] commented 4 months ago
CS3-94 Import Project

Create a route handler for importing project. 1. Initialize a new entry in Project for the logged-in user. 2. Assume you get all the information in the body of your POST request handler. 3. Assume you have unique id of logged-in user to identify. Use this unique id to store as a reference in the Project entry 4. The API handler is to be created in /api/project/route.ts