use vars config items in api
add gitignore, add express as dependency Signed-off-by: Arthur Lu <learthurgo@gmail.com>