A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
- For listing of all the files, just write this in POST request
Our O/P will be like above, if we specify the "id" of our folder as input to our POST request in the form of json like this, then it will show all the file of that particular folder .
!! we got the ID of folder or any file using the search POST request like this, so we can use that anywhere.
- Using the search, by giving the file_name in POST request in the form of json like this
It is showing two file name which have same name and they are in two different places.
- We can also generate webviewlink/webcontentlink by passing the id to our POST request in the form of json like this, so it will give o/p like this
- For creating the folder , we just need to give the name_of_our_folder to our POST request in the form of json like this
our folder will look like this in our drive
- for saving the file in our drive, we need to do this like this
here we specify four things -->
"file_name":"the name through which we want to save the file on our drive",
"file_actual_name":"the actual name of file which is in our local device with extension ",
"file_MIME_Type":"MIME type of our file ",
"folder_id":"ID of our folder , if we don't specify it then it will save the file in our root drive not inside the folder ",
Our file will look like this in our folder this_is_our_eazydiner in folder like this