2022-07-04 18:50:05 +02:00
|
|
|
# database
|
|
|
|
A quick-deploy database server
|
2022-07-05 19:17:09 +02:00
|
|
|
|
|
|
|
installation:
|
|
|
|
- download the code from [here]()
|
|
|
|
- change the password in password.js (it need to be an array)
|
|
|
|
- for start do npm start
|
|
|
|
|
|
|
|
Save data in in ./data/database.json
|
|
|
|
|
|
|
|
This is the link:
|
|
|
|
ip://api/<auth-code>/database to get all db
|
|
|
|
ip://api/<auth-code>/database/<name> search name in the database
|
|
|
|
ip://api/<auth-code>/database/<name>/set/<value> set a name's value in the database
|
|
|
|
ip://api/<auth-code>/database/<name>/remove remove <name> in the database
|