Introducing "Dad Jokes: The Ultimate Source of Cheesy Laughter!"
Are you ready to embark on a hilarious journey into the world of dad jokes? Look no further! Our JavaScript Dad Jokes web app is here to tickle your funny bone and leave you in stitches.
Get ready to embrace the sheer delight of cringeworthy humor as you explore an extensive collection of pun-tastic dad jokes. With just a click of a button, our app will serve you a fresh dose of laughter, guaranteed to make you groan and giggle at the same time.
But wait, there's more! Feel like sharing your own gems of comedic genius? Our app allows you to add your very own dad jokes to the ever-expanding repertoire. Spread the laughter and watch as your jokes become part of the delightfully cheesy tapestry of dad humor.
Get ready to laugh!
I built this basic JavaScript app to be used for learning. Feel free to use this repo to get started with JavaScript.
I also used this app in one of my JavaScript courses on Pluralsight. You can find my Pluralsight author profile here: Steve Buchanan on Pluralsight.
This app consists of:
- HTML
- Bootstrap CSS
- JavaScript
- Node.js
- Express
![image](https://private-user-images.githubusercontent.com/22551494/244595033-70efed66-548e-468c-b323-06b47502e58d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODU1OTYsIm5iZiI6MTcyNDU4NTI5NiwicGF0aCI6Ii8yMjU1MTQ5NC8yNDQ1OTUwMzMtNzBlZmVkNjYtNTQ4ZS00NjhjLWIzMjMtMDZiNDc1MDJlNThkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDExMjgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmMWIxOTZlODkyYzE4NWE2OWZhZmFhYWFjZGRiNDRkMjFkNzdiODdhNzFhMjA0MjRmOTIyMmIxMzRlNDQxYTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0JNAg9PkeaGX8jMrUpepy-7wbOGgH_fxPEvxoVQqklI)
This app requires a MySQL database. You will need to host the database somewhere. In the repo there are files with SQL code for creating the database, table, and for inserting the jokes. The folder path is dadjokes/setup/createdbandinsertjokes/
- createDBandJokesTable.sql
- insertJokes.sql
I have tested two deployment options for deploying this app. These are:
-
This app can be deployed to the free tier on www.render.com with ease using these steps: Deploy a Node Express App to Render.
-
This app can be containerized and deployed with ease to Azure Kubernetes Service (AKS) a cloud managed Kubernetes cluster using these steps here: Automated Deployments for AKS.
-
Note: If you want to run the app locally check out the steps in the dadjokes/setup/runlocally/localbuild.txt file.
Be sure to visit my blog www.buchatech.com to stay up to date on my adventures in tech!
Happy Coding!