GithubHelp home page GithubHelp logo

amplify's Introduction

Contributors Language Activity Version Forks Stargazers Issues MIT License


Logo

Amplify

An awesome Platform for listening songs.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

image

There are many great applications available on GitHub, however, this can be counted as one them.We wanted to create a application just so amazing that it'll be same as spotify but with python and firebase which is hell of a task.

Here's why:

  • We needed hands on practice on python.
  • We wanted to get an idea of creating open-source projects. /play heygirl
  • We wanted to explore about the Firebase and online streaming content. 😄

A list of commonly used resources that I find helpful are listed in the acknowledgements.

Built With

I am only listing the main things which are needed for this rest you can see inside the requirements.txt

Getting Started

First of all you will need a database of your own which should be created in firebase , we created out database with cloud-firestore you can use whichever database you want, we recommend Firestore. This the Database structure.

[
  Tracks : [
    {
      "Language" :  (String),
      "artist" : (String),
      "genre" : (String),
      "like_count" : (Integer),
      "location" : (String [ Url of the track ]),
      "title" : (String)
     }
  ],
  artist : [
    {
      "name" : (String),
      "image_url" : (String [ Url of the image ]),
    } 
  ],
  genres : [
    {
      "genre_name" : (String),
      "genre_image" : (String [ Url of the image ]),
    } 
  ],
  languages : [
    {
      "language_name" : (String),
      "language_image" : (String [ Url of the image ]),
    } 
  ],
  users : [
    Liked_songs : [
      Track_object
      (as mentioned above)
     ]
    {
      "display_name" : (String),
      "email" : (String),
      "email_verified : (boolean),
      "password" : (String),
      "verification_code" : (String),
    }
  ]
]




After this add Data to your database and then integrate your database with by service_key.json generated by Firebase.

Post this you need to run the following command in the same directory in the Terminal or command prompt.

pip install -r requirements.txt

If you have made it so far then you are genius enough to make your own application. Now run

python main.py 

and ka-boom!! 👏

Seems Godlike!

Prerequisites

  • Python
  • Firebase admin-sdk
  • and some libraries

Installation

1.Generate youre sevice key account 2. Clone the repo

git clone https://github.com/your_username_/Project-Name.git
  1. Install packages
pip install -r requirements.txt
  1. Enter your API in config.py
cred = credentials.Certificate("Database/YOUR_SERVICE_KEY.json")

and place service key in the database directory.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contributors

Contact

AmplifyTeam - Mail - [email protected]

Project Link: https://github.com/Srajan1122/TK-Player

Acknowledgements

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.