Giter Site home page Giter Site logo

colerutledge / spoofify Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 1.96 MB

๐ŸŽถ a clone of the popular streaming music service with Python, Flask, SQLAlchemy, and ReactJS

Dockerfile 0.47% Python 36.62% HTML 4.36% Shell 0.20% Mako 0.29% JavaScript 55.36% CSS 2.59% Pug 0.11%

spoofify's Introduction

Spoofify

A clone of the popular music streaming service built with Python, Flask, ReactJS, and PostgreSQL



This was a team based project done during the Python and Flask curriculum of the App Academy six month bootcamp program. In it, we used a client side ReactJS app to talk with a Flask API server to retrieve relevant data to power the UI. It was a great project that really helped us develop a better understanding of working with modern web application architecture, authentication, and it was our first introduction to the wonderful world of Docker!

Takeaways:

  • The team-based development experience with Docker and docker-compose was excellent!
  • Working with the Spotify API to generate data for the application was simple and helpful.
  • Using JSON Web Tokens (JWT) for auth was much more flexible than using session based auth in Express.
  • React Hook Form was an amazing package to work with for handling form validation and error handling.

Usage:

  1. Clone project
  2. Create .env files in the root directory (example.env included and below)
  3. Create .env file in api_server directory with a DATABASE_URL
  4. From the root directory, run docker-compose up

# .env example

# required in the root of the project
FLASK_ENV=development
POSTGRES_USER=db_user
POSTGRES_PASSWORD=password
POSTGRES_DB=db_name

# required inside of api_server/.env
DATABASE_URL=postgresql://db_user:password@postgres/db_name

Link to live demo -> Click Login and then on Demo User
you may have to give Heroku a minute!


screenshot

spoofify's People

Contributors

colerutledge avatar serranomarco avatar ctran01 avatar

Stargazers

vidya sagar avatar Zachery Haley avatar Brad Simpson avatar Lora Rusinouskaya avatar Aaron Bruce avatar Rocky Yang avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

serranomarco

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.