Giter Site home page Giter Site logo

emanothman21 / symphonia-fe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moodrammer/symphonia-fe

1.0 0.0 0.0 20.34 MB

๐ŸŽผ This project aims to mimic the Front end part of Spotify web player using Vue js.

JavaScript 46.53% HTML 0.12% Vue 47.79% CSS 5.56%

symphonia-fe's Introduction

Symphonia FE ๐ŸŽต

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


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

Runing 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

Runing 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";

Runing 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 emanothman21 avatar moodrammer avatar saadbadr avatar

Stargazers

 avatar

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.