react backend for directiv