This API is a proof-of-concept and living example of the EADS's Handbook. This API focuses on the management of Songs, Albums, Artists, Playlists, and Users.
Make sure you have Docker installed.
Run the following commands in the location that you'd like to place the repository:
git clone [email protected]:540co/jukebox-api.git
cd jukebox-api
Run the following commands from the root directory of the repository (update instructions as needed for Windows commands/utilities):
cp .env.example .env
Use docker-compose
to build the application. The following command should be executed any time the Gemfile is modified.
docker-compose build
Use docker-compose
to create the development database.
docker-compose up -d db
docker-compose run --rm app rails db:create
docker-compose run --rm app rails db:migrate
Run the following command to start the application.
docker-compose up -d
Your app should now be running on localhost:9540.
Use the following command to stop the application.
docker-compose stop
Documentation Coming Soon