Small API made using Express.js to manage app updates and changelogs.
- Clone this repo
- Install pnpm
pnpm i
- Make a
config.js
file containing the following:
export const config = {
rwToken: "CHANGEME", // This token is used in API requests to update version info
port: 3042
};
node index.js
Returns the current version number and changelog.
🔑 Authenticated
Sets the current version and changelog. If everything went well, returns 204. Pass the update data object as body.
{ "version": 0, "changelog": "your changelog here" }