Build me a system to search through a PostgreSQL database

  • Tila: Closed
  • Palkinto: £200
  • Vastaanotetut työt: 2
  • Voittaja: dev681999

Kilpailun tehtävänanto

I need a web interface for a dataset comprising 10M+ rows, which will allow me to search through the data quickly from the browser.

This should be written in .NET or Go (I will provide the dataset as CSV), and dockerized (I want to run docker-compose up and have the system work). I'm happy for just the DB to run in a container for dev exposing it's port on localhost, often quicker that way. But ultimately will be deployed with a single compose comprising the two (db/app).

Query results should be cached and the cached results should be shared between users of the UI. This cache implementation must be threadsafe.

The site frontend should be built using Quasar https://quasar.dev/. TypeScript must be used.

Search should be done on:
- name
- website
- country
- industry
- size

I'll leave it to you to figure out how clever to get with the search.

This dataset is large so I have provided a subset of the data to work with (100k rows of it).

Subject to the winner giving a satisfactory effort there will be more work to do on this system.

Please send a PDF with a link to the completed code on github/gitlab etc.

Suositellut taidot

Työnantajan palaute

“It was odd to run a contest for software system, but Devakanta delivered. He clearly has a good Go ability and a starter boilerplate which allows for quickly scaffolding and building a system. Definitely would recommend.”

Profiilikuva revittconsulting, United Kingdom.

Kilpailun parhaat työt

Näytä lisää töitä

Julkinen selvennystaulu

  • gabrielsantos19
    gabrielsantos19
    • 1 kuukausi sitten

    Could you share your github user?

    • 1 kuukausi sitten
    1. revittconsulting
      Kilpailun järjestäjä
      • 1 kuukausi sitten

      Messaging on here laggy - I have solved issue with upgrading docker-compose version

      • 1 kuukausi sitten
    2. gabrielsantos19
      gabrielsantos19
      • 1 kuukausi sitten

      Is everything ok? The .csv is only used to init the database, to change it afterwards you need to remove the database volume. Also, the Postgres takes some time to accept connection after been started.

      • 1 kuukausi sitten
  • dev681999
    dev681999
    • 1 kuukausi sitten

    I have submitted my entry #2

    • 1 kuukausi sitten
  • dev681999
    dev681999
    • 1 kuukausi sitten

    Hi I have started to build the web app.
    Thanks.

    • 1 kuukausi sitten
    1. dev681999
      dev681999
      • 1 kuukausi sitten

      There are a lot of issues quasar with TS.

      • 1 kuukausi sitten
    2. dev681999
      dev681999
      • 1 kuukausi sitten

      Quasar dosent have much TS definitions.

      • 1 kuukausi sitten
  • gabrielsantos19
    gabrielsantos19
    • 1 kuukausi sitten

    The system will be used from multiple computers/browsers?

    • 1 kuukausi sitten
    1. revittconsulting
      Kilpailun järjestäjä
      • 1 kuukausi sitten

      Quite possibly in the future. For now keep it simple. No authentication for now.

      • 1 kuukausi sitten
  • dev681999
    dev681999
    • 1 kuukausi sitten

    Hi I had doubt, the thing is query results can change if data changes(row updates)
    So in that case cache might not give correct results. So do we want to expire the cache?

    Thanks.

    • 1 kuukausi sitten
    1. revittconsulting
      Kilpailun järjestäjä
      • 1 kuukausi sitten

      Manual cache expiry would be fine. Or you could put 15 minutes on it - happy for it to work either way :)

      • 1 kuukausi sitten

Näytä lisää kommentteja

Kuinka päästä alkuun kilpailuiden kanssa

  • Ilmoita kilpailusi

    Ilmoita kilpailusi Nopeaa ja helppoa

  • Saat valtavasti töitä

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Myönnä palkinto parhaalle työlle

    Myönnä palkinto parhaalle työlle Lataa tiedostot - Helppoa!

Ilmoita kilpailu nyt tai liity tänään!