You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1001 B

7 years ago
6 years ago
  1. # Tiny Drive NodeJS Starter Project
  2. This project will help you get started with Tiny Drive and allow you to play around with its features.
  3. ## Prerequisites
  4. NodeJS 11 on any supported platform.
  5. ## Getting started steps
  6. ### 1. Clone this repository to your local machine using
  7. These are the steps needed to get this project running on your machine:
  8. ```
  9. $ git clone https://github.com/tinymce/tinydrive-nodejs-starter.git
  10. ```
  11. ### 2. Change the `apiKey` in `tinydrive-nodejs-starter/config.js`
  12. You get the API key from the `API Key Manager` account manager at http://www.tiny.cloud.
  13. ### 3. Create a `tinydrive-nodejs-starter/private.key` file containing your generated private RSA key
  14. You get the private RSA key from the `JWT Key Manager` account manager at http://www.tiny.cloud.
  15. ### 4. Go to the directory and install NPM packages and then start the development server
  16. ```
  17. $ cd tinydrive-nodejs-starter
  18. $ npm i
  19. $ npm run start
  20. ```
  21. ### 5. Open the example project at http://localhost:3000