Node.js API Server for requesting authentication token from Spotify for Spotipie-bot.
Can be found on telegram as Spotipiebot.
- Install dependencies
cd <project_name>
npm install
This will install all necessary dependencies.
- Getting TypeScript
npm install -D typescript
- Start your mongoDB server (you'll probably want another command prompt)
mongod
The following env variables are supported:
ENVIRONMENT
: default: 'production'. Anything else is treated as 'dev'MONGODB_URI
: Your database URI.MONGODB_URI_LOCAL
: Your database Local URI (eg. 'mongodb://localhost:27017/db-name').BOT_URL
: Your bot's URL.