Skip to content

28410629/ITRW324-Web_API

Repository files navigation

ITRW324 Semester Project

Other repositories for project.

WeatherStation_API

This can be a possible API for us to use with our project subject next semester.

Web API Details

  • .Net Core 2.2
  • Entity Framework Core
  • Database:
coen@WeatherStationAPI:~$ mysql --version
mysql  Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using  EditLine wrapper

Reference Links

Certificate For API

Generate certificate for API:

See https://tecadmin.net/install-lets-encrypt-create-ssl-ubuntu/

coen@WeatherStationAPI:~$ sudo certbot-auto certonly --standalone -d weatherstationapi.ddns.net 
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/weatherstationapi.ddns.net/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/weatherstationapi.ddns.net/privkey.pem
   Your cert will expire on 2019-10-25. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot-auto
   again. To non-interactively renew *all* of your certificates, run
   "certbot-auto renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

Create usable certificate for API:

openssl pkcs12 -export -out certificate.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem

An important concept to think of in regards to Web APIs

So in other words, don't do computation on the front-end side since the code is publically available with web technologies. The back-end will always serve the data being displayed on the front-end side.

Capture0730

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •