Skip to content

dyang108/spotqueue

Repository files navigation

spotqueue

Private radio stations to listen together even when afar.

Also learning React and Redux with best practices along the way.

Built using React Native, Redux, NodeJS, Express, MongoDB, Mongoose, Facebook SDK, Spotify API, Node-Cron, WebSockets

Contributing

Clone repo

git clone https://github.com/dyang108/spotqueue.git

Install dependencies

npm install

Start the database

mongod

Run server

cd server
nodemon index.js

Start app with environment variables

API_URL='http://localhost:8000' npm start
  • You might need to install the facebook sdk here. Make sure you put it in ~/Documents/FacebookSDK *

This project follows standard style.

Best Practices

  • break up styles file
  • use style constants (TODO)
  • redux
    • presentational components do not connect()
    • do not use subscribe() directly
  • models separate from apis on server side
  • only use one ID for documents in the database

Good React/Redux resources:

About

Private radio stations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published