Web app that adds some useful features to Spotify
- For this repository to your account, and clone the repo to your machine
- Installed Node.js version 12.18.0
- Created a spotify application
- Created mongodb atlas cluster
Create environment files within frontend
and backend
touch frontend/.env && touch backend/.env
Place the following into backend/.env
SPOTIFY_CLIENT_ID=<CLIENT_ID>
SPOTIFY_CLIENT_SECRET=<CLIENT_SECRET>
ATLAS_URI=<DB_URI>
<CLIENT_ID>
and <CLIENT_SECRET>
comes from your Spotify application page.
DB_URI
comes from your MongoDB Atlas account.
- Click "Connect"
- Choose "Connect your application"
- Copy the box of text containing your connection URI
- Paste over
<DB_URI>
- Replace
<password>
with your MongoDB Atlass account password
Place the following into frontend/.env
REACT_APP_API_URL=http://localhost:1337
From project root install root dependencies
npm install
Concurrently install dependencies for frontend
and backend
npm run installation
TODO: Does not work
npm run start
TODO: Does not work
npm run [frontend | backend]
npm run dev
- View the rendered content at http://localhost:3000.