Browse Source

TD-198: updated gitignore

pull/2/head
Spocke 6 years ago
parent
commit
86a0809ff1
  1. 1
      .gitignore
  2. 2
      config.js
  3. 5
      readme.md

1
.gitignore

@ -1,2 +1,3 @@
/node_modules /node_modules
/*.log /*.log
*.key

2
config.js

@ -2,7 +2,7 @@
exports.apiKey = 'your-api-key'; exports.apiKey = 'your-api-key';
// Replace the contents of the private.key file with the one from the "JWT Key Manager" at the tiny.cloud account page // Replace the contents of the private.key file with the one from the "JWT Key Manager" at the tiny.cloud account page
exports.privateKeyFile = ``;
exports.privateKeyFile = './private.key';
// This is the fake database that the login authenticates against // This is the fake database that the login authenticates against
exports.users = [ exports.users = [

5
readme.md

@ -24,11 +24,12 @@ You get the api key from the `API Key Manager` account manager at http://tiny.cl
You get the private RSA key from the `JWT Key Manager` account manager at http://tiny.cloud. You get the private RSA key from the `JWT Key Manager` account manager at http://tiny.cloud.
### 4. Go to the directory and start the dev server
### 4. Go to the directory and install npm packages and then start the dev server
``` ```
$ cd tinydrive-nodejs-starter $ cd tinydrive-nodejs-starter
$ node index.js
$ npm i
$ npm run start
``` ```
### 5. Open the example project at http://localhost:3000 ### 5. Open the example project at http://localhost:3000
Loading…
Cancel
Save