Add resource routes and run migrations.