import { initApps } from '$apps'
import appsRouter from './api/apps'
import syncRouter from './api/sync'
import { Hype } from '@because/hype'

const app = new Hype({ layout: false })

app.route('/api/apps', appsRouter)
app.route('/api/sync', syncRouter)

console.log('🐾 Toes!')
initApps()

export default app.defaults
