GithubHelp home page GithubHelp logo

eligundry / album-mode Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 20.39 MB

Don't know what to listen to? Let us recommend something!

Home Page: https://album-mode.party

License: MIT License

TypeScript 99.02% JavaScript 0.83% Shell 0.02% CSS 0.14%
react remix spotify tailwindcss drizzle-orm

album-mode's Introduction

album-mode.party Netlify Status

Web application that recommends albums based upon magic (aka randomly selecting an album from a list).

Development

Standard Remix setup here.

# Run the site in development mode @ http://localhost:3000
$ npm run dev
# Build the site
$ npm run build

Styling

I'm using tailwindcss for styling this site because I'm lazy. Nothing super special here except that when editing tailwind.config.js, you must run the following command so that the application code has access to the changes, which are generated to app/tailwind.config.json.

$ npm run seed-script -- scripts/dumpTailwindConfig.ts

Database

All the data used by this application lives in a sqlite database in data.db that is checked into this repo and deployed to production along with the code. There are a fair amount of seed/scraping scripts to populate this database with reviews from various publications. They can be run like so:

$ npm run seed-script -- app/jobs/pazz-and-jop.ts

I have also setup a Github Action that runs weekly to update the data from some publications every Sunday at noon.

Deployment

All deployments run through Netlify. You should never need to deploy from your local machine, but if you do, you can do the following:

# Build the site
$ npm run build
# Deploy to a preview branch with the netlify-cli
$ netlify deploy
# Deploy to production
$ netlify deploy --prod

album-mode's People

Contributors

eligundry avatar

Watchers

 avatar  avatar  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.