Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

Mobile Apps Monitoring Wabah Tuberkulosis - TBCare

Overview

This repository contains codebase for TBCare backend system

How to Run

  1. Run an instance of PostgreSQL database. Then set the credentials on a .env file at the root directory. For example you can spin a Docker container to run a Postgres DB instance:
docker run -p 5432:5432 -d postgres
# .env

# You can adjust the values with your Postgres instance credentials.

DATABASE_NAME=postgres
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=
  1. Prepare and activate a Python virtual environment
virtualenv env
source env/bin/activate
  1. Install required packages
pip install -r requirements.txt
  1. Do database migrations
python manage.py migrate
  1. Run
python manage.py runserver

Tech Stack

  • Django Rest Framework
  • PostgreSQL RDBMS
  • Docker (with compose)

Team Members

  • Dave Nathanael
  • Irwanto
  • Jonathan Christopher J
  • Josh Sudung
  • Nandhika Prayoga