πΈ Gallery App
This is a personal project I built to explore and reinforce concepts around Vue 2, API integration with Axios, and using JSON Server to simulate a backend. It's a minimal but functional image gallery application, ideal for learning how to build CRUD-based frontends without setting up a full backend stack.
The core idea was to create a clean, responsive interface that lets users upload images, view them in a gallery layout, and manage them easily. Itβs also a good example of working with legacy frontend tech thatβs still widely used in older codebases.
π§ Technologies Used
- Vue 2 β JavaScript framework for building UI
- Axios β For handling all HTTP requests to the mock API
- JSON Server β Lightweight mock REST API server using local JSON files
- SCSS/CSS β For simple, clean styling
π§ Why I Built It
While modern Vue 3 and frameworks like Nuxt 3 dominate the current frontend landscape, Vue 2 is still maintained and present in many real-world projects. I wanted a simple environment to practice:
- Making API calls with Axios
- Handling form submissions and file uploads
- Simulating data persistence with a fake backend
- Structuring a clean, component-based SPA
The result is this Gallery App β quick to spin up, easy to extend, and great for prototyping.
π Getting Started
To start the project locally:
npm install
npm run serve
In a separate terminal, run:
json-server --watch db.json
This will start the fake backend at http://localhost:3000.
β Features:
- Upload and list images
- Basic gallery layout
- Uses mock data with JSON Server
- Built as a single-page app (SPA)
This project is useful for learning how frontend apps interact with APIs and how local JSON servers can simulate a full backend for testing.
Want to try it or contribute? Check it out on GitHub