This is the frontend SPA to be paired with Uptime API
This site is using Vue3 & Tailwind CSS
You can try it out at https://uptime.tysonmccarney.com/
#spa domain
VUE_APP_URL=http://app.my-domain.com
#api domain
VUE_APP_API=http://api.my-domain.com
Make note of vue.config.js. When you run yarn serve
, it will use the domain set in that config file. This
is to allow you to serve your front end on the same test domain as your backend, so your session cookie will work.
If you change this domain, make sure you update your API endpoint domain as well. You also need to update your
host file in windows to point that domain to localhost.
yarn install
yarn serve
MIT