Skip to content

Simple Rails/Vue.js client to fetch PCGS coin prices via API.

Notifications You must be signed in to change notification settings

pixiitech/lustre

Repository files navigation

Lustre

Lustre is a Ruby on Rails/Vue.js single-page application for fetching rare and antique coin prices and descriptions from PCGS's API.

Price Guide Categories

Price Guide Result

Live demo is at https://lustre.pixiitech.net

  • System dependencies

    • Ruby 3.3.1
    • bun package manager
    • Node v22
    • Vite 5.2.13 (server for Vue)
    • PCGS API key (one can be obtained by creating a free account on pcgs.com)
    • SQLite 3.46
    • Install foreman (not mandatory, but allows running both processes in the same window)
    • Elasticsearch 7.10, installed to ./elasticsearch in the repo dir
    • foreman (optional)
  • Configuration

    • Clone repo using github ssh
    • Create config/application.yml with: PCGS_URL: https://api.pcgs.com/publicapi/coindetail/ PCGS_API_TOKEN: _api token from pcgs.com_
  • Database creation

    • rake db:create
  • Database initialization

    • rake db:migrate
    • rake db:seed (this will populate known PCGS data from lib/assets/coins)
  • Index data

    • In rails console: CoinVariety.reindex
  • Running app

    • foreman start -f Procfile.dev
    • or run individual commands in Procfile.dev

About

Simple Rails/Vue.js client to fetch PCGS coin prices via API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published