Skip to content

mannuelf/my-discogs

MyDiscogs - React Remix App

MyDiscogs is a React client to display all the "for sale" items in a sellers inventory using the Discogs API.

To see the contents of a specific seller you must add the seller name to environment variable: SELLER_USERNAME

Environment variables

ACCESS_TOKEN_URL=https://api.discogs.com/oauth/access_token
AUTHORIZE_URL=https://www.discogs.com/oauth/authorize
CONSUMER_KEY=
CONSUMER_SECRET=
REQUEST_TOKEN_URL=https://api.discogs.com/oauth/request_token
SELLER_USERNAME=
USER_AGENT=yourAppName/1.0 +http://localhost:5173

Get your consumer key and secret from Discogs API

Development

pnpm i

Run the dev server:

pnpm dev

Deployment

First, build your app for production:

pnpm build

Then run the app in production mode:

pnpm start

Now you'll need to pick a host to deploy it to.

Built With

DIY

If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of npm run build

  • build/server
  • build/client

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.

About

Show a sellers Inventory using Discogs API and Remix (React)

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors