API of the ADL project.
docker build -t derogab/adl-api .
Get a free HTTPS certificate with Let's encrypt using certbot tool.
Let's Encrypt is a free, automated, and open certificate authority, run for the public's benefit.
sudo apt-get install certbot
sudo certbot certonly -d my-server-domain-name.com -n --standalone
The certificate is saved at /etc/letsencrypt/live/my-server-domain-name.com/fullchain.pem
and the key file at /etc/letsencrypt/live/my-server-domain-name.com/privkey.pem
.
mkdir /path/to/certs
sudo cp /etc/letsencrypt/live/my-server-domain-name.com/fullchain.pem /path/to/certs/
sudo cp /etc/letsencrypt/live/my-server-domain-name.com/privkey.pem /path/to/certs/
sudo chown $USER:$USER /path/to/certs/*
Warning! Let's Encrypt certificates are valid for 90 days. It's necessary to renew the certificates from time to time!
docker run \
-dit \
-p 443:443 \
--name adl-api \
--restart=always \
--mount type=bind,source=/path/to/certs,target=/certs \
derogab/adl-api
This project was developed during the internship period in the university and it was presented as computer science bachelor degree project.
Source | |
---|---|
Thesis | https://github.com/derogab/adl-thesis |
Slides | https://github.com/derogab/adl-presentation |
Source | |
---|---|
App | https://github.com/derogab/adl-app |
Server | https://github.com/derogab/adl-server |
Api | https://github.com/derogab/adl-api |