Boilerplate generator and deno tasks for monorepo
This commit is contained in:
5
game-systems-service/data.ts
Normal file
5
game-systems-service/data.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
import mongoose from 'mongoose';
|
||||
import { configDatabase } from 'lib/data.ts';
|
||||
|
||||
configDatabase(mongoose);
|
10
game-systems-service/index.ts
Normal file
10
game-systems-service/index.ts
Normal 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));
|
3
game-systems-service/perms
Normal file
3
game-systems-service/perms
Normal file
@@ -0,0 +1,3 @@
|
||||
--allow-net
|
||||
--allow-read
|
||||
--allow-write
|
1
game-systems-service/prefix
Normal file
1
game-systems-service/prefix
Normal file
@@ -0,0 +1 @@
|
||||
game-systems
|
Reference in New Issue
Block a user