Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Post Creation & Feed

A small Full Stack Web Application for creating posts and displaying them in a post feed.

The application has a simple flow: users first create a post by selecting an image and entering a caption. After submitting the post, the created post is displayed in the Post Feed.

Features

  • Create a post with an image.
  • Add a caption to the post.
  • Upload and store images using ImageKit.
  • Store post information in MongoDB Atlas.
  • Use Mongoose to interact with MongoDB.
  • Display created posts in a feed.
  • Simple and clean React-based user interface.

Technologies Used

Frontend

  • React.js

Backend

  • Node.js
  • Express.js
  • Mongoose

Database

  • MongoDB Atlas

Image Storage

  • ImageKit

How the Project Works

The project follows a simple process:

Create Post
     ↓
Select Image
     ↓
Enter Caption
     ↓
Submit Post
     ↓
Image uploaded to ImageKit
     ↓
Post data stored in MongoDB Atlas
     ↓
Post displayed in Feed

Application Flow

1. Create Post

The first page allows the user to create a post.

The user can:

  • Select an image.
  • Enter a caption.
  • Click the Submit button.

2. Post Feed

After submitting the post, the application displays the created posts in a feed.

Each post contains:

  • Uploaded image
  • Caption

Database

MongoDB Atlas is used to store the post information.

Mongoose is used to create the schema and communicate with MongoDB.

Image Storage

ImageKit is used for uploading and managing the images used in the posts.

Instead of storing the actual image directly in MongoDB, the image is uploaded to ImageKit and the required image information/URL is stored with the post data.

Project Objective

The main objective of this project is to understand the basic working of a Full Stack Web Application and learn how the frontend, backend, database, and external image-storage service work together.

This project helped in understanding:

  • React frontend development
  • Backend API creation
  • Form and image handling
  • MongoDB Atlas
  • Mongoose
  • ImageKit integration
  • Frontend and backend communication
  • Displaying database data dynamically

Future Improvements

Some features that can be added in the future:

  • User authentication
  • Like and comment functionality
  • Edit and delete posts
  • User profiles
  • Responsive UI improvements

About

This is my first very FullStack Project .In which the post creation and our own feed is displayed .

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages