Boilerplate generator and deno tasks for monorepo

This commit is contained in:
Emma
2023-05-01 20:28:18 -06:00
parent a367562ba0
commit a910783882
36 changed files with 1164 additions and 47 deletions

View File

@@ -0,0 +1,5 @@
import mongoose from 'mongoose';
import { configDatabase } from 'lib/data.ts';
configDatabase(mongoose);

View File

@@ -0,0 +1,10 @@
import { CGGService } from 'cgg/Application.ts';
import { Router } from 'oak';
const app = new CGGService({ prefix: '/game-systems' });
app.route(new Router());
app.start();
console.log('User service running on ' + Deno.args.at(0));

View File

@@ -0,0 +1,3 @@
--allow-net
--allow-read
--allow-write

View File

@@ -0,0 +1 @@
game-systems