Fiery.gg repository backend
- JavaScript 97.3%
- HTML 2.7%
| api | ||
| db | ||
| external | ||
| lib | ||
| process | ||
| public | ||
| schemas | ||
| server | ||
| socket | ||
| tools | ||
| utils | ||
| client.crt | ||
| client.key | ||
| config.json | ||
| db.js | ||
| fiery-server.zip | ||
| https-proxy.js | ||
| index.js | ||
| loop.server.sh | ||
| main.js | ||
| Multi-Socketio-Server.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.cert | ||
| server.key | ||
| server.zip | ||
| updateDatabase.js | ||
| yarn.lock | ||
project install
npm install or yarn install
dependent
Start monogdb locally
mongod.conf
# mongod.conf
# Where and how to store data.
storage:
dbPath: /tmp/mongodb/db ## Need to be modified
journal:
enabled: true
# engine:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /Users/rc/Code/github/woodway-tech/mongodb/logs/mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
start monogdb
mongod --config /you/local/path/mongod.conf
start project
node index.js or sh ./loop.server.sh
tip: rum loop.server.sh. After the service exits abnormally Will restart automatically
test auto trigger jenkins only main branch
userInfo.json Field Description
- format:
[userID]: {} - ip: Last login ip address
- lastDate: Last login time
- rainJoinState: Can I join rain; value = true/false; (If it does not exist, you can add it)
- giftCardState: Whether the gift card can be used; value=true/false; If the property does not exist, you can use the gift card