RidePal Playlist Generator is a single-page application that enables users to generate playlists for specific travel duration periods, based on their preferred genres.
React.js, Redux.js, SASS, Express.js, MySQL
- Microsoft Bing Maps
- Deezer
Backend:
- Inside the
server
folder, runnpm install
to restore all dependencies. - You can setup a local database in two ways:
- Import the database schema from the
empty-database
file in thedatabase
folder. After that usenpm run seed
in theserver
folder to fetch data from Deezer and add initial admin user. - Or directly import the database schema from the
full-database
file in thedatabase
folder which contains prefetched Deezer data as well as some mock data for users and playlists.
- Inside the
server
folder, create a.env
file with the following configuration:
PORT=5555
HOST=localhost
DB_PORT=3306
USER= // insert MySQL database username
PASSWORD= // insert MySQL database password
DATABASE=ridepal
PRIVATE_KEY=secretkey
- Run
npm start
.
Frontend:
- Inside the
client
folder, runnpm install
to restore all dependencies. - Run
npm start
.