A simple web application that allows users to create posts with an optional image. The application uses Axios to send data to an API, and it displays a loading animation (ripple) while the post is being processed.
- Users can create a post by entering a title and body.
- An optional image can be uploaded along with the post.
- A loader (ripple) animation is displayed when the post is being created.
- Alerts are shown if there are any errors with the post creation.
- HTML5
- CSS3 (with animations)
- JavaScript
- Axios for API requests
- Bootstrap for responsive design
-
Clone the repository:
git clone https://github.com/mohamadsharabi/basicSocialMediaWebApp.git
-
Navigate to the project directory:
cd basicSocialMediaWebApp -
Install dependencies:
npm install
-
Run the application (you can use a simple server like live-server or serve it through a backend):
live-server