Skip to content

1.0.0

Compare
Choose a tag to compare
@willianantunes willianantunes released this 16 Feb 14:43
· 256 commits to master since this release

Here you'll find a stable and workable solution which runs as a Python back-end based on Django. It has the following technologies:

  • All the assets is served by WhiteNoise with Django through Gunicorn (WSGI HTTP Server). As it is very basic, no CDN was used in production. If you look at the Pipfile and the settings.py, it's using Brotli compression format with cache support.
  • Django acts here simply as the SSR, with Django Template. No database used.
  • All the views can be consulted here and its URLs here. Basically, Rave of Phonetics has an index and changelog pages, as well as custom ones for errors 400, 404 and 500.
  • In order to use some advanced JavaScript features on the browser, Parcel was used. See this package.json's line to understand how it was used during development and this one for the build process. A good catch is to look at the Dockerfile too.
  • Parcel looks at an entry point to find all related files used in the project, then creates a bundled file containing all resources used (CSS, JS, among others). Ours can be consulted here.
  • Apart from Django Template, the front-end on client-side uses MaterializeCSS and IndexedDB to persist what was transcribed by the user. See the files indexeddb-setup.js, TextConfigurationDao.js, TextHistory.js and TranscriptController.js.
  • Tests are separated by unit and int folders. The support folder has some utilities to assist some tests either for Python and JavaScript.
  • The scripts related to CI/CD are not available in this release. Everything is configured on Azure DevOps using Classic pipeline.