Skip to content

jbonilla8/sweetbeats-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweet Beats Server

sweetbeats-backend is the server side of a playlist creator that uses the Spotify Web API and OAuth 2.0 API. The application allows the user to creator playlists based on bpm, danceability, energy, instrumentalness, and valence (musical positiveness). Users can enjoy a 30 second preview of songs in each playlist and save them to the user's Spotify account for later enjoyment. This application was created as part of Chingu Voyage 19 by team Geckos 04.

Alt Text


Prerequisite

  • Clone the repository using git clone.

  • Create a .env file within the root directory and include the below entries:

    Obtained from the Spotify Dashboard. SPOTIFY_CLIENT_ID= SPOTIFY_CLIENT_SECRET=

    FRONTEND_URI='http://localhost:3000'
    
    PASSPORT_URI='http://localhost:8888'
    

    Obtained from the MongoDB Connect to Cluster. MONGO_URI=

    Random character for key generation and age of cookie. COOKIE_KEY= COOKIE_AGE=

Available Scripts

In the root directory, you can run:

yarn install

Install all dependencies necessary for the project.

yarn start

Runs the server in the development mode on http://locallhost:8888.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Dependencies

License

GNU General Public License v3.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published