Skip to content

Commit 3e84131

Browse files
author
Tom
authored
Merge pull request #2 from tberey/development
Release/1.0.3
2 parents 459e421 + 63406cd commit 3e84131

File tree

10 files changed

+228
-238
lines changed

10 files changed

+228
-238
lines changed

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ This is a Electron application, built in Node and TypeScript, that delivers a cl
8484
* [Axios](https://axios-http.com/)
8585
* [fs](https://nodejs.org/api/fs.html)
8686
* [Rollbar](https://rollbar.com/)
87+
* [SimpleTxtLogger](https://www.npmjs.com/package/simple-txt-logger)
8788
* [ESLint](https://eslint.org/)
8889
* [MochaChai](https://mochajs.org/)
8990

@@ -127,17 +128,26 @@ For help or guidance in downloading and running the application, see the followi
127128
## Usage
128129
This is a electron application, which means it runs on your system, rather than a browser web app (yes, electron is technically just doing what a web browser does).<br>As Such, simply install and run this application and the window will load automatically as if running an executable.
129130

130-
| Endpoint | Action/Desc. | Full URI <i>(hosted locally, for some port; e.g.: 3000)</i> |
131-
|:---|:---|:---|
132-
| <ul><li>"/"</li></ul> | Status: 200 | <ul><li>"http://localhost:3000/"</li></ul> |
131+
| Endpoint | Action/Desc. | Full URI <i>(hosted locally, on some port; e.g.: 3000)</i> | Request Type |
132+
|:---|:---|:---|:---|
133+
| <ul><li>"/"</li></ul> | Empty response body, but returns a 200 status. | <ul><li>"http://localhost:3000/"</li></ul> | GET |
134+
| <ul><li>"/listBuckets"</li></ul> | Lists all buckets that currently exist. | <ul><li>"http://localhost:3000/listBuckets"</li></ul> | GET |
135+
| <ul><li>"/findBucket"</li></ul> | Attempt to find the passed bucket name. | <ul><li>"http://localhost:3000/findBucket?bucket=BUCKET_NAME"</li></ul> | GET |
136+
| <ul><li>"/listObjects"</li></ul> | Lists all objects contained within a passed bucket, if the bucket exists. | <ul><li>"http://localhost:3000/listObjects?bucket=BUCKET_NAME"</li></ul> | GET |
137+
| <ul><li>"/findObject"</li></ul> | Attempt to find passed object, in the passed bucket, if the bucket exists. | <ul><li>"http://localhost:3000/findObject?bucket=BUCKET_NAME&object=OBJECT_NAME"</li></ul> | GET |
138+
| <ul><li>"/createBucket"</li></ul> | Create a new empty bucket, if one with the same name does not already exist. | <ul><li>"http://localhost:3000/createBucket"</li></ul> | POST |
139+
| <ul><li>"/uploadFile"</li></ul> | Upload a local file to a specified bucket, if that bucket exists. | <ul><li>"http://localhost:3000/uploadFile"</li></ul> | POST |
140+
| <ul><li>"/downloadFile"</li></ul> | Download a remote file from a specified bucket, if that bucket exists, and the file can be found. | <ul><li>"http://localhost:3000/downloadFile"</li></ul> | POST |
141+
| <ul><li>"/deleteBucket"</li></ul> | Delete a passed bucket, if that bucket exists and it is empty. | <ul><li>"http://localhost:3000/deleteBucket"</li></ul> | DELETE |
142+
| <ul><li>"/emptyBucket"</li></ul> | Empty bucket by deleting all containing objects, if the supplied bucket exists and not already empty. | <ul><li>"http://localhost:3000/emptyBucket"</li></ul> | DELETE |
133143

134144
<br>
135145

136146
### Screenshots
137147

138-
Logginf Sample:
148+
Logging Sample:
139149

140-
![Screenshot#1](https://github.com/tberey/tomco-hq/blob/development/screenshots/local-logs-sample.png?raw=true)
150+
![Screenshot#1](https://github.com/tberey/ts-node-electron-aws-s3-app/blob/development/screenshots/local-logs-sample1.png?raw=true)
141151

142152
<br><hr><br>
143153

@@ -161,7 +171,10 @@ Below is the refined and confirmed roadmap, that has been planned for completion
161171

162172
| Version | Date | Changes |
163173
|:---|:---|:---|
164-
| 1.0.0 | 2021-07-10 | <ul><li>Initial Commit.</li><li>Add inital directory structure and files.</li><li>Add Screenshots directory, and images.</li><li>Create and format README.md</li></ul> |
174+
| 1.0.0 | 2021-07-10 | <ul><li>Initial Commit.</li><li>Add initial directory structure and files.</li><li>Add Screenshots directory, and images.</li><li>Create and format README.md</li></ul> |
175+
| 1.0.1 | 2021-07-14 | <ul><li>Replace local SimpleTxtLogger with npm module SimpleTxtLogger.</li><li>Update Electron client script.</li><li>Update README.md</li></ul> |
176+
| 1.0.2 | 2021-08-03 | <ul><li>Fix spelling.</li><li>Update README.md</li></ul> |
177+
| 1.0.3 | 2021-08-04 | <ul><li>Update README.md</li></ul> |
165178

166179
<br><hr><br>
167180

@@ -189,7 +202,7 @@ Contributions are welcomed and, of course, **greatly appreciated**.
189202
* [Issues & Requests][issues-url]
190203
* [My Other Projects](https://github.com/tberey?tab=repositories)
191204
* [Personal Website](https://tberey.github.io/)
192-
* [Linked In](https://uk.linkedin.com/in/thomas-berey-2a1860129)
205+
* [Linked In](https://uk.linkedin.com/in/thomas-berey)
193206

194207
<br>
195208

@@ -219,5 +232,5 @@ Contributions are welcomed and, of course, **greatly appreciated**.
219232
[issues-shield]: https://img.shields.io/github/issues/tberey/ts-node-electron-aws-s3-app.svg
220233
[issues-url]: https://github.com/tberey/ts-node-electron-aws-s3-app/issues
221234
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555
222-
[linkedin-url]: https://uk.linkedin.com/in/thomas-berey-2a1860129
235+
[linkedin-url]: https://uk.linkedin.com/in/thomas-berey
223236
[project-url]: https://github.com/tberey/ts-node-electron-aws-s3-app/projects

0 commit comments

Comments
 (0)