Giter Site home page Giter Site logo

symphonia-fe's Introduction

symphonia logo

GitHub contributors GitHub stars

Symphonia FE ๐ŸŽต

A Project that mimics the FrontEnd part of Spotify Web player.

Video Demo


Tools used

  • Vue js : js framework
  • Vuetify: Components Library
  • Vue router: routing
  • Vuex: State Mangement
  • Mirage js: Mock server
  • firebase: Notifications
  • jest: Unit testing
  • Vue Styleguidist: Functional Documtentation
  • vue-context: context menu

Main commands for running the Project

Project setup & installing packages

npm install

Compiles and hot-reloads for development

npm run serve

Runs the project by default on port:8080

Compiles and minifies for production

npm run build

The project is found in a /dist folder under the same directory after building

Run your unit tests and generating coverage report

npm run test:unit

This command runs all the unit tests and generates a coverage report index.html including details about all components The generated coverage report is found in the project directory under /coverage/Icov-report

Generate Functional documentation report

npm run styleguide:build

To generate the report under /styleguide folder in the project directory

Lints and fixes files

npm run lint --fix

Running on Mock server

For mocking we use Mirage.js The server is established in development environment automatically and runs on the same port as the frontend code where it intercepts all the requests and api calls and mocks their responses through defined routes

Running on real server from localhost (for debugging temporarily)

some changes should be made in the development env :

  1. prevent mirage from runing by changing the condition in main.js from development to production
  if (process.env.NODE_ENV === "production") {
  makeServer();
}
  1. define the axios base url to direct the calls to the deployed back end server in main.js
axios.defaults.baseURL = "https://thesymphonia.ddns.net/api";

Running on real server

When deployed in a Production environment, the Mirage server is not established and it doesn't intercept the calls to the api The publicPath is taken form the domain name where the project runs

Customize configuration

See Configuration Reference.

symphonia-fe's People

Contributors

a00x40 avatar davidraafat avatar dependabot[bot] avatar emanothman21 avatar moodrammer avatar saadbadr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

symphonia-fe's Issues

handle track token timeout

You can use the same token for the same queue. Once it's expired, request another one through play song API.

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.