Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shazron/test-api
https://github.com/shazron/test-api
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shazron/test-api
- Owner: shazron
- Created: 2023-09-07T17:23:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T13:50:23.000Z (over 1 year ago)
- Last Synced: 2024-10-30T02:42:41.682Z (2 months ago)
- Language: JavaScript
- Size: 1.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# digital-downloads-app-upload-test
1. Install node.js 16 or greater:
2. Install dependencies: `npm install`
3. Run the test code with `ACCESS_TOKEN` in your environment variables (see below, or add it in a .env file, see .env.example)## Linux / macOS
`ACCESS_TOKEN=your_access_token_here node index.js`
## CMD (Windows)
On Windows the environment variable is set using the set command.
`set ACCESS_TOKEN=your_access_token_here & node index.js`
## PowerShell (Windows)
In Powershell, it is a bit different.
`$env:ACCESS_TOKEN='your_access_token_here';node index.js`