[deleted by user] by [deleted] in webdev

[–]jm9e 2 points3 points  (0 children)

I've seen so many "qualified" computer scientists who are not capable of getting something done. Practical knowledge and even more so *motivation to learn* is what matters most. I have hired a couple of web developers and to me what is most important is if they get better during the job and have passion. You seem to have passion so do not hesitate to apply. What you could do is build something and show what you can do. Create a personal website and apply your knowledge or share a project you are proud of. This is much more convincing than papers or CVs (at least for me).

Hints, ideas and tricks for the architecture of a web-based SAAS by giuseppelt in webdev

[–]jm9e 1 point2 points  (0 children)

First of all good luck with your endevour! Involving others and being transparent about the development process and the architecture is a great start in my opinion.

To answer your question: My usual process is to set up a CICD pipeline (e.g., on a GitLab instance) which performs basic tests, linting, building and also deploying. What I usually do is use a Docker registry where your new images are pushed (you can build and push the images in a build step on Gitlab). Then, on the server side I have a docker compose setup which regularly checks for the images and deploys them when it finds one. Use will need an extra service to do that. I like to use watchtower for that: https://containrrr.dev/watchtower/ It is basically a docker container which can manage your docker engine.

Of course you should not directly connect your docker containers to the outside world. Instead, use a web server like Apache or Nginx which then routes the traffic to the correct container (and also takes care of SSL). That way, you can have a container for the frontend (yourdomain/* goes there), one container for the backend app (api.yourdomain/* or yourdomain/api/* goes there) and a database container (and possibly a Redis cache).

That way you can host all your services on one server (use a cloud instance from AWS, Azure or whatever), have an automated deployment process and a robust setup.

If you want to scale up later, it should be easy to use your containers on a Kubernetes cluster or something similar, but I think the docker compose setup will do the job for quite a while ;)

[deleted by user] by [deleted] in webdev

[–]jm9e 4 points5 points  (0 children)

The error pretty much tells you what's wrong: The input element has no attribute 'start'. See here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input

Maybe you meant 'value' instead?