Cloud configuration system written in MySQL, ExpressJS & NodeJS made for other developers.
Install packages with npm.
> cd cloud-configs-master
> npm install
Upload tables to database.
> npm run db:push
GET /api/get
Parameter | Type | Description |
---|---|---|
user |
string |
Required. Your username |
GET /api/get/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
POST /api/create
Parameter | Type | Description |
---|---|---|
user |
string |
Required. Your username |
name |
string |
Required. Your config name |
content |
string |
Required. Your config's content |
PUT /api/update/
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to update |
content |
string |
Required. Content to update to |
DELETE /api/delete/
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to delete |
- ExpressJS file structure - https://github.com/geshan/expressjs-structure