Im building a music producer library web app using Ruby Middleman and Contentful.…
- User
Im building a music producer library web app using Ruby Middleman and Contentful. Contentful only allows me to have 5 users before it starts charging $400 a month. How can I redevelop the architecture of the library web app around using Vue? The app needs to have a music player, ability to upload beats, auto calculate the bpm, auto calculate the song key, use AI to tag the beat with specific vibes, and use AI to take those tags to generate a track name. How can I rebuild this?
Assistant
Great question! Here are a few options to consider:
- Build the entire application using Vue, and use external services (like Amazon S3) to host media files.
- Use Vue for the front-end, and build a separate RESTful API using Ruby to handle all data storage and manipulation. The API would then be consumed by the Vue front-end. This would allow you to use whichever back-end technology you are most comfortable with.
- Re-architect the application using a “Server-side rendering” approach, where the application is built using Vue, but the initial page rendering is done on the server-side using Ruby. This approach would allow you to keep the Ruby Middleman framework, while still using Vue for all further interaction and data manipulation within the application. You would still need to use external services to host media files.
- Re-architect the application using a “Full-stack” approach, where the entire application is built using Vue, and all data storage and manipulation is handled within the application itself. This approach would be the most Vue-centric, but would require the most work to implement. You would still need to use external services to host media files.
Hope this helps! Good luck with your project!
- User
What options can I use to host media files that can talk to Vue?
Assistant
There are several options for hosting media files that can be used with a Vue.js application:
-
Amazon S3: Amazon Simple Storage Service (S3) is a popular cloud storage service that can be easily integrated with Vue.js. You can use the AWS SDK for JavaScript to interact with S3 from your Vue.js application.
-
Google Cloud Storage: Google Cloud Storage is another popular cloud storage service that can be used with Vue.js. You can use the Google Cloud SDK to interact with GCS from your Vue.js application.
-
Microsoft Azure Storage: Microsoft Azure Storage is a cloud storage service that can also be used with Vue.js. You can use the Azure Storage SDK for JavaScript to interact with Azure Storage from your Vue.js application.
-
GitHub: If you are hosting your Vue.js application on GitHub, you can use GitHub Pages to host your media files. This is a simple and free option, but it may have some limitations on the size of files you can host.
-
Content Delivery Networks (CDNs): CDNs are third-party services that can be used to host and deliver your media files to users around the world. CDNs can reduce the load on your own servers and improve the performance of your application.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.