An interactive photo album website with a RESTful API.
This project is an interactive photo album website that allows users to upload, view, and manage photos. It also includes a RESTful API for backend operations.
- Upload and display photos.
- Create and manage photo albums.
- RESTful API for handling photo and album operations.
- Responsive design for various devices.
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express.js
- Database: SQLite
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/marwandr/photo_album_website.git cd photo_album_website - Install the dependencies:
npm install
- Start the server
node server.js
Once the server is running, you can access the website at http://localhost:3000. Use the interface to upload and manage your photo albums.
Here are some of the key API endpoints available:
GET /api/photos- Retrieve all photos.POST /api/photos- Upload a new photo.GET /api/photos/:id- Retrieve a specific photo by ID.PUT /api/photos/:id- Update a photo by ID.DELETE /api/photos/:id- Delete a photo by ID.
For a more detailed explanation, check out the documentation file.