/sano-fsd-test

Code repository for the Sano Full Stack Developer Task

Primary LanguageVue

Sano Genetics Full-stack engineer task

Installation

  • Install Python 3.8 and Node 12.x.x
  • Install Postgres. For Mac, we recommend Postgres app: https://postgresapp.com/
  • Run a local postgres server and create a new database called fsd
  • Set connection_url key in local-config.json to the database URL
  • Within the server/ directory, seed your local database with example studies by running:
    • pip install virtualenv
    • virtualenv -p python3 venv
    • source venv/bin/activate
    • pip install -r requirements.txt
    • python run/seed_db.py
  • Within the server/ directory, run the server locally with run/server.
  • In a seperate terminal shell, inside the client/ directory, download the client dependencies and run the client locally with run/client.
  • Navigate to http://0.0.0.0:2000 in your browser