Giter VIP home page Giter VIP logo

spotify's Introduction

Spotify SPA website

A simple SPA website using Spotify's website/desktop concept as base.

* JUST FOR EDUCATIONAL PURPOSES ONLY.

Getting Started

Before you start working with Spotify, consider following these steps.

Prerequisites

Install the following Software before you install Spotify project.

MongoDB Shell / Server
// If Windows user
    |_ Use gitbash app to get a Unix Terminal or use latest PowerShell
*npm
|_*nodejs
|_*angular-cli

REST Client of your choice (Ex. Postman, JetBrains's RubyMine in-build REST Client)
  • Use Latest versions

Installing

A step by step series to get development enviroment working properly.

NodeJS's Express client (API RESTful module)

Start mongod service (Mongo's demon)

user@user-pc:~$ sudo service mongodb start

// If Windows user
    |_ Go to MongoDB path (PATH/MongoDB/Server/YOUR_VERSION_HERE/bin) and run mongod.exe

Start Mongo Shell and Create the db

user@user-pc:~$ mongo

    // If Windows user
        |_ Go to MongoDB path (PATH/MongoDB/Server/YOUR_VERSION_HERE/bin) and run mongo.exe

// Mongo's Shell command    
> use mean

You can close now the Mongo's Shell if you want. Leave Mongo's Server service running / listening.

Install dependencies and Start API RESTful server (NodeJS/Express)

user@user-pc:~/mean-spotify$ npm install
// The API module uses nodemon, we created this shortcut w nodemon
user@user-pc:~/mean-spotify$ npm start
    // If all ok, you'll see this output
        |_ Connected to DB.
        |_ API REST Server listening on: localhost:3977

You can test now with your REST Client the API modules. (Take a look at route modules first).

Angular Client

Install Angular's Spotify dependencies and start it

user@user-pc:~/mean-spotify$ ng serve
    // If all ok, you'll see this output
        |_ ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
        |_ i : Compiled successfully.

You can now go to your favorite browser and use the SPA website entering the following web address:

http://localhost:4200/

Deployment

You may use AWS's AC2 module to deploy the MEAN app.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU GPLv3 License - see the LICENSE.md file for details

Acknowledgments

spotify's People

Contributors

maestre3d avatar

Stargazers

 avatar

Watchers

 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.