A React Native app that allows users to search artists on the Deezer platform
The backend API is based on NodeJS and Express. The source code for the backend resides in the DeezerView_Back-end
. To run the development server, you have to install the dependencies first.
- Install dependencies
$ cd backend
$ npm i
- Start Server
$ npm run dev
The API is exposed on http://localhost Port 8000 is default. if you want to change the Port, you can do so in the .env file
You will find the source code for the React Native application in the subdirectory DeezerView
.
To setup your development environment you have to install the yarn dependencies.
- Install dependencies
$ cd DeezerView
$ yarn install
- Setup the emulator with localhost change the port of the ANDROID_EMULATOR_PATH for android and IOS_EMULATOR_PATH for ios in the .env file to the same Port number in the Back-end. The default paths are as follows:
ANDROID_EMULATOR_PATH=http://10.0.2.2:8000
IOS_EMULATOR_PATH=http://localhost:8000
- To run on android emulator/device
$ yarn android
- To run on ios emulator/device
$ yarn ios
The app is dependent on the backend API, so you should make sure to start the backend API server first.