Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samliebl/web-app
https://github.com/samliebl/web-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/samliebl/web-app
- Owner: samliebl
- License: other
- Created: 2024-11-02T10:59:25.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T11:02:04.000Z (about 1 month ago)
- Last Synced: 2024-11-19T12:01:52.577Z (about 1 month ago)
- Language: JavaScript
- Size: 548 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Web App
Demonstrating some facility with REST APIs and what you can do with them. I also talk about the client-side AJAX code that's bringing this all together for a better user experience.
Find it live at app.samliebl.com
### REST API Demos
1. Demonstration of a GET API call/request
1. Rendering the site with Nunjucks via Express
1. Two Demonstrations of POST API call/requests
1. A simple POST API call/request
1. A more complex POST request
1. Note on the client-side JavaScript--
```
.
|- .env (You will add your own)
|- .env.example (As an example, with placeholder data, for what yours would look like)
|- views/
| |- _layouts/
| | |- base.njk
| |- index.njk
| |- error.njk
|- public/
| |- css/
| |- tachyons.min.css
| |- js/
| |- main.js
|- uploads/ (where the audio files & transcription takes place)
|- server.js
```Take a look at the source code—mostly in `server.js` and then in the templates directory (`views/`) for the client-side code.
## LICENSE
MIT