Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eligundry/album-mode
Don't know what to listen to? Let us recommend something!
https://github.com/eligundry/album-mode
drizzle-orm react remix spotify tailwindcss
Last synced: 13 days ago
JSON representation
Don't know what to listen to? Let us recommend something!
- Host: GitHub
- URL: https://github.com/eligundry/album-mode
- Owner: eligundry
- License: mit
- Created: 2022-04-11T23:36:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T00:01:46.000Z (3 months ago)
- Last Synced: 2024-11-05T22:16:04.089Z (2 months ago)
- Topics: drizzle-orm, react, remix, spotify, tailwindcss
- Language: TypeScript
- Homepage: https://album-mode.party
- Size: 16.1 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# album-mode.party [![Netlify Status](https://api.netlify.com/api/v1/badges/5bc14dab-b8e9-463a-8e8a-839e1b8735fe/deploy-status)](https://app.netlify.com/sites/album-mode/deploys)
Web application that recommends albums based upon magic (aka randomly selecting an album from a list).
## Development
Standard [Remix](https://remix.run) setup here.
```bash
# Run the site in development mode @ http://localhost:3000
$ npm run dev
# Build the site
$ npm run build
```### Styling
I'm using [tailwindcss](https://tailwindcss.com/) 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`.```bash
$ 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:```bash
$ 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:```bash
# Build the site
$ npm run build
# Deploy to a preview branch with the netlify-cli
$ netlify deploy
# Deploy to production
$ netlify deploy --prod
```