This project will help you get started with Tiny Drive and allow you to play around with its features.
Before you start your journey with Tiny Drive, it will go a lot smoother if you have done these steps:
Store the keys temporarily somewhere as you will need to copy & paste them later.
These are the steps needed to get this project running on your machine:
$ git clone email@example.com:tinymce/tinydrive-nodejs-starter.git
You get the API key from the
API Key Manager Tiny Account page at http://tiny.cloud.
You get the private RSA key from the
JWT Key Manager Tiny Account page at http://tiny.cloud.
$ cd tinydrive-nodejs-starter $ npm i $ npm run start
5. Open the example project at http://localhost:3000
If your specific use case has not been covered by any of the sample dot net, java, nodejs, or php starter projects, some customizations might be required to be applied to implement Tiny Drive in the specific system. The JSON Web Token authentication solution would have to be tied to the login authentication of your system. This usually means integrating the JWT authentication to the existing session authentication so that users automatically login to Tiny Drive and your system.
Go through the following additional resources to figure out how to configure Tiny Drive with your system.
We recommend reading up and trying to understand how JWT authentication works. In order to implement Tiny Drive you need prior knowledge of JWT in detail, including how they can be used for user authentication and session management in a web application. There will be some coding involved on both the client-side and the server-side to configure JWT as per the instructions in this section.