Skip to content

dev-patel2104/TuneHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TuneHub Application

Authors

Deployment

Deployed on Netlify and Render using a clone repository from GitHub. Front-end deployed on Netlify with a deployment trigger on master branch. Back-end deployed on Render with a deployment trigger on master branch.

Built With

Sources Used

ContactUs.js

Lines ## 41 ##

const  emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;

Regex was taken from Oreilly

/server/index.js

Lines ## 67 - 180 ## Implementation of Spotify OAuth2.0 is referenced from Spotify authorization guide and examples.

/src/spotify-integration/SpotifyIntegration.js

All the calls to Spotify apis are referenced from Spotify Web apis documentation.

/src/components/AdminComponent/AddSongForm.js

Lines ## 319 - 331 ## Implementation of encoding an image to base64 format is referenced from How to store an image to a database with React using Base 64, which will allow us to store the image information in the database in the form of encoded string that can be later retrieved.

/src/components/AdminComponent/AddArtistForm.js

Lines ## 247 - 259 ## Implementation of encoding an image to base64 format is referenced from How to store an image to a database with React using Base 64, which will allow us to store the image information in the database in the form of encoded string that can be later retrieved.

File Structure

Backend:

/server/index.js : Main entry point /server/routes: Defines the available routes /server/controllers: Contains the business logic /server/models: Contains the MongoDB models to interact with the database

Frontend:

/src/index.js: Main entry point /src/spotify-integration: Contains api logic related to Spotify integration /src/assets: Contains the images (.png and .svg) /src/components: Contains custom made reusable React components /src/pages: Contains the UI pages /src/services: Contains the api calls to the backend

Acknowledgments

Special thanks to: @TheNetNinja on YouTube for Chakra-UI tutorials. Spotify for providing their APIs for free and for such comprehensive documentation. Professor and TAs for the awesome lectures and tutorials.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published