This is one of two repositories created for my portfolio website tomasps.com. If you are looking for the main repository you can find it here! Thanks for taking the time to check this out. If you have any questions of comments, feel free to shoot me an email at [email protected] or you can DM me on twitter @toomas_ps.
To setup a dev environment:
# Clone the repository
# Install dependencies
npm i
# Run the local dev server
npm run dev
To serve a production build:
# Install dependencies if not already done - 'npi i'
# Build for production
npm run build
# Serve the build using express
npm start
The desktop now includes a Photo Gallery application that loads images from the public Flickr feed.
Optional environment configuration (create a .env
file at project root):
REACT_APP_FLICKR_USER_ID=12345678@N00
If REACT_APP_FLICKR_USER_ID
is provided, the Gallery will display that user's public photos. If omitted, it will fall back to a generic public feed (tagged portfolio
). No API key is required for the public feed endpoint.
After setting the value, restart the dev server (npm run dev
) so Create React App picks up the new env variable.