Compare commits
2 commits
46f2168fe5
...
072780bc0f
Author | SHA1 | Date | |
---|---|---|---|
|
072780bc0f | ||
|
1f933d27da |
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
# In The Database 2
|
||||
![in the database 2](./assets/full.png "in the database 2")
|
||||
|
||||
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`
|
BIN
assets/full.png
Normal file
BIN
assets/full.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 KiB |
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
|
@ -1,7 +1,7 @@
|
|||
import * as mongoose from 'mongoose';
|
||||
import { Int32 } from 'mongoose-int32';
|
||||
|
||||
const Schema = mongoose.Schema;
|
||||
const Int32 = require('mongoose-int32');
|
||||
|
||||
const Sample = new Schema({
|
||||
start: {type: Int32, default: new Int32(0)},
|
||||
|
|
Loading…
Reference in a new issue