Stack | Tech | |
---|---|---|
IDE | Visual Studio Code | You can use your preferred IDE but this is the one we like 🙃 |
Frontend | React Native 0.60 | Utilising Javascript to develop this cross platform mobile app |
Backend | Firebase (Repo) | Serverless Functions in Firebase using GoLang |
Design 🎨 | Sketch | The design files can be found here |
ALL of these sections are open for contributions and are highly encouraged!
In order to develop for Grüvee you are going to need to have a few things installed on your machine:
-
Javascript
-
iOS Development
-
Android Development
- JDK 11 or Lower (This is very important)
- Latest Version of Android Studio
- Android Emulator
- Android Build Tools 28.0.3 (Installable from Studio SDK Manager)
- Android 9 SDK (Installable from Studio SDK Manager)
Now we are at the GOOD stuff. Time to get Grüvee running locally. Make sure you have the prerequisites installed. Open up two instances of your favorite terminal/command prompt and navigate to the root directory of the Grüvee repository for both of them. One is going to run your React Native bundle server and the other will start the Grüvee iOS or Android app.
We have included an .example.env
that has the properties that are needed for the app to run properly. Start here by copying it and renaming it to .env
in the root of the repo
This property does not need to be changed
If you would like to have Spotify support you will need to setup a Spotify developers app. To do this follow these steps:
- Head to https://developer.spotify.com
- Log in with your Spotify account
- Select
Create An App
- Fill out the information. You can honestly put anything here
- On the next prompt select
non-commercial
- Agree to the terms and conditions
- Grab the
Client ID
and theClient Secret
For Spotify auth you will need to add a redirect URI. This is currently set to what we currently use in Grüvee. In your newly created Spotify Dev App, head to the Edit Settings
section and add gruvee://spotify_auth
to the Redirect URIs section.
In order to get the app running you will need to create a Firebase project and set the Dev URI here. Use the following steps:
- Head to https://console.firebase.google.com
- Select
+ Add Project
- Continue through the prompts and then select
Create Project
- Head to
Authentication
section and then theSign-in method
section - Scroll down to Authorized domains
- You will see a list of domains. Grab the one that that looks like this:
{YourProject-Id}.firebaseapp.com
This is used for searching for users to add to a playlist. If you find yourself needing this UI/UX please head to the Contributing documentation for help filing an issue or join the PixelogicDev Discord to reach out directly to people actively working on this project.
All the NPM commands and dependencies for this project can be located in the package.json file, but we only need two to get started.
-
This npm command will download all the React Native package
(this is only needed when cloned for the first time or if new npm packages are introduced to the package.json file)
$ npm install
-
This npm command will start the React Native bundle server
$ npm start
See the Grüvee iOS Development documentation for all information regarding getting setup for Grüvee on iOS!
See the Grüvee Android Development documentation for all information regarding getting setup for Grüvee on Android!