Musicritic wants to become your personal music-specific Metacritic. You'll be able to rate the music you listen to, read other people's opinions and help create a healthy community of music lovers!
Musicritic has still got a long way to go, but here are some things you can already do!
- Connect yourself to Spotify (required to make use of the rest of the features!);
- Check your recently listened to tracks and recent top tracks;
- Look up albums, tracks, artists, and playlists;
- See more information on tracks and albums in specific pages.
So you want to help us? How kind of you! Just know you can contribute in many ways. Please, note that we have a Code of Conduct, which we expect to be strictly respected.
Before getting to run Musicritic itself, you'll need to set up some environment variables. For this purpose, you'll need to create two integrations: one with Spotify and the other one with Firebase. Both are very simple to configure, so don't let these additional steps scare you out!
Create a new file named .env
with the same fields as the .env.example
file. You're going to fill this file with information to link Spotify and Firebase with Musicritic.
Access Spotify Developer with your Spotify Account and follow these steps:
- Create a new
Client ID
in DashBoard - Fill the information that Spotify asks
- After created, put the
Client ID
andClient Secret ID
in the.env
- Go to Edit Settings at your Spotify Client ID
- Set the Redirect URLs to
http://localhost:5000/auth/callback
Access Firebase with your Google Account and follow these steps:
- Add a new project
- Go to Project Overview
- Click in the symbol
</>
- Copy your
apiKey
,authDomain
,databaseURL
and put it in the the.env
- Go to Project Configuration > Service Accounts
- Click in Create a new Private Key and save the file in a safe place, please don't commit this file
- Place the full path to your file at the
FIREBASE_SERVICE_ACCOUNT
fild in.env
- On the sidebar menu, click on "Authentication", "Sign-in Method" tab and enable "Email/password" (same could be done with Google, Facebook and Twitter).
- Let's create our user! Select "Users" tab, click on "Add User". Set "Email" and "Password". Use this credentials to log in on the application.
With both configured, you're ready to run Musicritic!
With Firebase and Spotify configured, now you'll need to install the dependencies. We suggest using yarn:
yarn install
With everything set, to run both client and server, use:
yarn start
Access your http://localhost:3000, use the credentials you've configured on below steps and Voila! If you got stuck in the middle of the process, make sure to contact us at calluswhatuwant@gmail.com so that we can help you out!
If you'd rather run each one separately, you can run
yarn start
in themusicritic/
folder for the client and in theserver/
folder for the server.
This is it! Now, if you make any modifications, the application should update itself automatically.
Check our issue templates.
We're working on a CONTRIBUTING file. Meanwhile, we've got some open issues!
@JoseRenan and @JRobsonJr