Skip to content

danielpdaniel/phase-3-sinatra-react-project

 
 

Repository files navigation

Cover Lover = Phase 3 Sinatra React Project Front End

This is the backend for my Phase 3 Project, Cover Lover! The project is a single page application centered on musical artists, their songs, and the covers they've done of other artist's songs.

Installation

Fork and clone, then run:

bundle install

in the project's directory to install the necessary gems. Next, run:

bundle exec rake db:migrate
bundle exec rake db:seed

to run all the migrations that are going to build out the database tables and then fill those table with some seed data from the seeds.rb file. next, run:

bundle exec rake server

to start a rake server to host the app's backend on a local port. Once the server is up and running you should be ready to go! the frontend should be all set to make requests to the database and display the data in the browser once you've set that up as well, or you could make fetch requests using something like postman

Usage

Feel free to play around with it! You can also fork and clone the frontend and run that in development mode using an npm server to make changes through the web app. The app includes full CRUD capabilities for the data related to each artist, their songs and their covers of songs through the various routes within the app. Or feel free to use Postman to try out the different routes defined in the application_controller file.

Credits

This app uses React for its frontend,specifically create-react-app to set up the initial starter code for the React program.

It also uses the phase 3 project code by lizbur10 on github to set up the initial backend directory, which uses both Sinatra and Active Record to build out the database functionality.

All song performances in the seed data have been sourced from YouTube and can be found at the following locations:

New York, New York by Frank Sinatra

Born This Way by Lady Gaga

New York, New York covered by Lady Gaga

New York, New York covered by Beyoncé

Born This Way covered by Orville Peck

This project was done for Phase 3 of the Flatiron School's Software Engineering Flex Program. Special thanks to everyone at Flatiron who helped me through this phase!

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%