Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilracz21/instagram-javascript
Instagram-like Application
https://github.com/emilracz21/instagram-javascript
api css frontend html image-gallery-application infinite-scroll javascript pixabay-api responsive-web-design scss ui-design
Last synced: 9 days ago
JSON representation
Instagram-like Application
- Host: GitHub
- URL: https://github.com/emilracz21/instagram-javascript
- Owner: emilRacz21
- Created: 2024-10-20T16:02:30.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T23:11:27.000Z (about 2 months ago)
- Last Synced: 2024-11-05T00:19:35.597Z (about 2 months ago)
- Topics: api, css, frontend, html, image-gallery-application, infinite-scroll, javascript, pixabay-api, responsive-web-design, scss, ui-design
- Language: SCSS
- Homepage: https://instaike-scroll-er.netlify.app
- Size: 1.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instagram-like Application
This project implements an Instagram-like application using JavaScript, HTML, and CSS. It fetches images from the Pixabay API and displays them in a visually appealing format, including a user interface for stories and posts.
* [Instagram like App](https://instaike-scroll-er.netlify.app)
## Features
- Infinite scrolling to load more posts
- Display user stories with profile pictures
- Show post details including images, likes, and comments
- Dynamic updating of the current time in the UI
- Smooth hide/show of the main menu on scroll## Technologies Used
- HTML
- CSS
- JavaScript
- Pixabay API## Getting Started
To run this project locally, follow these steps:
1. **Clone the repository**:
git clone https://github.com/emilRacz21/instagram-javascript.git
cd instagram-javascript
2. **Open the index.html file in your web browser. This will display the application**3. **Use your API Key:**
```javascript
let urlPhoto = `https://pixabay.com/api/?key=YOUR_API_KEY&image_type=photo&orientation=horizontal&q=NATURE&page=${this.page}`;
4. Replace the API key in the apiPost method of the Instagram class with your own Pixabay API key for the application to fetch images.## Code Overview
The main class Instagram is responsible for:
* Initializing the application
* Fetching data from the Pixabay API
* Managing user interface updates based on user interactions (scrolling)
* Displaying posts and stories dynamically## Design
![instagram](https://github.com/user-attachments/assets/73aa5c6a-7da8-40b6-9794-a3609d7d4aa5)
## Contributing
Contributions are welcome! If you have suggestions for improvements or find a bug, please open an issue or submit a pull request.
## License
This project is licensed under the MIT License.