Skip to content

felipeparpinelli/partyfy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

partyfy-server

Project to learn and improve my skills in:

  • Go lang
  • MongoDB
  • Spotify API

Install

  • Clone git clone https://github.com/felipeparpinelli/partyfy-server.git

  • Install dependencies

    • go get gopkg.in/mgo.v2 MongoDB driver for Go  - go get github.com/gorilla/mux A powerful URL router and dispatcher for golang
    • go get github.com/zmb3/spotify wrapper for Spotify Web API
  • Install and run mongoDB

  • Set Environment variables: export SPOTIFY_ID="client_ID" export SPOTIFY_SECRET="secret_ID"

Tests

  • cd controllers
  • go test *.go

Running

  • Start the server go run *.go

  • Follow the instructions to run the frontend service: https://github.com/felipeparpinelli/partyfy-client

  • You can view the project up and running on AWS

  • You can create the database with a collection(party) automatically, just uncomment the line 19 in db.go and run the application.

Future features (TODO List)

  • Create websocket between client and server - collaborativePlaylist
  • Create a music search
  • User be able to create parties

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages