Instructions: Welcome to our Music App Mod-4 project, a single page web application that allows you to search songs using a Spotify Api and add your favorites to your playlist. This version allows you to create, edit, and delete your user, but at the moment you cannot save your playlist to the database.
Instructions for use:
- Fork and clone this repo.
- In your terminal, within the directory you saved it in, enter:
cd Mod-4-Project-Music-App
- Then:
cd mod-4-proj-music-api
- Enter:
atom .
or your code editor of choice - You are now in the rails API file
- In config/initializers/spotify_setup.rb add your
RSpotify::authenticate(<client_id>, <client_secrete>)
- Here in your terminal, because this is running on Postgres you need to run
rails db:create
and thenrails db:migrate
- Run
rails s -p 3001
to start the server (this will run the api on localhost:3001) - Switch to the frontend by typing
cd ..
and thencd mod-4-proj-music-frontend
- Run
yarn install
thenyarn start
(this will run on localhost:3000) Thank you for checking out our project! Have fun!