2022-07-04 18:50:05 +02:00
|
|
|
# database
|
|
|
|
A quick-deploy database server
|
2022-07-05 19:17:09 +02:00
|
|
|
|
|
|
|
installation:
|
2022-07-05 19:18:46 +02:00
|
|
|
- download the code from [here](https://github.com/FIUSdevelopment/database-server/archive/refs/tags/1.0.0.zip)
|
2022-07-05 19:17:09 +02:00
|
|
|
- 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
|