This is a website for sharing my family photos.
You can view the api at (https://github.com/ZachBarbre/family-photos-api)
It was built using the starter template for Routify.
Svelte because single file componets are my favorite thing and svelte is a really nice language to work in.
Routify because folder based routing makes life so much easier. I chose Routify over sveltekit because at the time sveltekit wasn't fully baked. I may revist this in the future.
it is currenlty hosted on a Digital Ocean Droplet along with the API.
The index page incorporates infinte scrolling using a fucntion to check where the user is on the page and if anymore photos are avalibe to load.
Add in a comment and 'liking' system with user auth.
For local development run npm run dev
after cloning this repo, cloning the api repo and starting up the local api server.
For production run npm run build:app
to build this as single page app. The deployment of this uses npm run serve
with PM2 to serve the spa.