Again, I have helped Tom Mansion, Léandre Becq, Rémy Chagnas and Nathan Pinault. And these gentle guys helped me too!
Loreleï Augeraud and Tom Ravanel gave me a hand for some minor Lighthouse issues.
Apparently, it works perfectly in desktop mode (luckily? Hmm... Don't say that).
Tested on Google Chrome browser (version : 100.0.4896.88
)
For HTTPS setup on my VPS, I have followed the instructions in nginx-certbot boilerplate.
Organization and init script had been changed a bit to match with my configuration. You can find some of the files in config
folder. They are not managed by CD but directly on VPS.
ng build --configuration development
Then set up a server using http-server
on generated /dist/simple-app
folder :
http-server -p {port} -c-1 dist/simple-app/
You can access to it in http://localhost:port.
ng serve
By default, the app URL is set up on http://localhost:4200.
baseUrl
in src/environnements/environment.ts
must match with the url used by the server.
json-server --watch db/db.json
You can visit and try routes on it on http://localhost:3000.