-
Notifications
You must be signed in to change notification settings - Fork 4
Technologies
qtipee edited this page Apr 11, 2020
·
15 revisions
REST API with Django REST Framework.
Django REST Framework is really useful when developing an API. In addition - as the frontend application is developed with Nuxt.js - there is no need for HTML templating.
Web client with Nuxt.js, which is based on Vue.js.
The advantage of Nuxt.js is that the SEO is improved « due to the fact that full contents of each page are being served by the web server before any client-side JavaScript is executed » (Wikipedia).
- CI : Github actions Django module ; it basically installs the dependencies - from requirements.txt - and then runs all the available tests. Based on this tutorial, a code analysis - linting - should be done before running the tests. Here is an example from another Django project.
- CD with Capistrano
- Unit & Regression Tests : test the new features with unit tests and make sure the previous features are not impacted with the Testing in Django.
- CI with Nuxt.js deployment commands ; a list of commands to build the application and the assets, to start a production server and to generate the routes.
- CD with Capistrano
- Unit & Regression Tests with Nuxt.js development tools.
- Application performances & good practices with Google Lighthouse.
- Simulate user navigation with Cypress.io (can also do unit tests).
- Ask real users to test the application and to give some feedback ; their feedback should be documented.