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

5
rules-service/data.ts Normal file
View File

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

10
rules-service/index.ts Normal file
View File

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

1
rules-service/perms Normal file
View File

@@ -0,0 +1 @@
--allow-net

1
rules-service/prefix Normal file
View File

@@ -0,0 +1 @@
rules