Compare commits

..

No commits in common. "072780bc0fd793b8dadec115f24025b9c25dc95c" and "46f2168fe53b4357cd37cd2d63e8336aeb42a886" have entirely different histories.

4 changed files with 3 additions and 9 deletions

View file

@ -1,9 +1,3 @@
![in the database 2](./assets/full.png "in the database 2") # In The Database 2
a database site for notitg modcharts, currently very very unfinished, basically just a boilerplate a database site for notitg modcharts, currently very very unfinished, basically just a boilerplate
## setup
1. `npm install`
2. make a `config.json` (example in `config/config.json.example`)
3. `npm run build` and `node main/index.js`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

View file

@ -1,7 +1,7 @@
import * as mongoose from 'mongoose'; import * as mongoose from 'mongoose';
import { Int32 } from 'mongoose-int32';
const Schema = mongoose.Schema; const Schema = mongoose.Schema;
const Int32 = require('mongoose-int32');
const Sample = new Schema({ const Sample = new Schema({
start: {type: Int32, default: new Int32(0)}, start: {type: Int32, default: new Int32(0)},