Skip to content

jaredgoldman/portfolio

Repository files navigation

My Portfolio Site

About the site

Hey, this is my little portfolio site. An attempt at using the platform (plus a CSS pre-processor... sorry not sorry). It's basically vanilla CSS/HTML/JS SPA that features a hand-made carousel and is powered by a Strapi backend somewhere in the cloud. Come in, stay for a while and let me know if you like it. Now I'm going to go actually build some projects to showcase here, wish me luck!

Build command (Netlify)

Because it's a vanilla project, we don't have access to a build step that will inject our env variables into the app runtime. Therefore, we'll utilize Netlify's build command functionality to insert a .gitignore'd file called config.js that will include our env variables and pre-process our scss:

echo -e "const API_URL = '<API_URL>';\nconst API_KEY = '<API_KEY>';\n\nexport { API_URL, API_TOKEN };" > config.js && npm run css

Releases

No releases published

Packages

No packages published