insort icon indicating copy to clipboard operation
insort copied to clipboard

An online multiplayer IO-like game that tests your general knowledge.

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