Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 624 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 624 Bytes

Source code for insort.app

Insort is a game where you sort a deck of cards by some attribute. It's main components are React, Socket.io, Express and PostgreSQL.

Running

  • Clone the repository and install dependencies
  • Set environment variables. Example:
    • DATABASE_URL=postgres://postgres:postgres@localhost:5432/insort-db
    • ENVIRONMENT=development
  • Run npm run migrate
  • Run in two terminals:
    • npm run watch-client: watches for changes in the client and rebuilds the bundle
    • npm run watch-server: watches for changes in the server and restarts the server