Developer shares how they built an art portfolio site with React and Flask
The author describes building a personal website to showcase their artwork while experimenting with new technologies. They chose a React frontend, opting for Create React App over Next.js, and a Python Flask backend to handle image uploads and user data. Early on, large image files slowed page loads, which they fixed by compressing images with tools like TinyPNG and adding lazy loading. They also struggled with CORS issues when connecting the frontend to the Flask API, which they resolved after adjusting headers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in