Running a WebSite from svn repository

hello.
so i have a virtualmin on a centos 6.7
and what one of the devs asked me to do got me thinking.
as i know all files of a Subversion repository are stored in a DB and not in a folder…
so i cant use them as a web pages, so whats the point ? i mean, seriously, its subversion for Apache right?,
is there any way to use a repository as a root of a web site ? so all changes committed to the repository can be viewed at the moment committed ?
if so i couldent find the way to do that in the wabmin / virtualmin configurations
if anyone knows how to do so i would be very happy if he / she could share