Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add instagram clone #242

Merged
merged 4 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Instagram-Clone/Demo/HomePageDemo.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Instagram-Clone/Demo/LoginPageDemo.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 99 additions & 0 deletions Instagram-Clone/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Instagram-Clone using MERN Stack

Building an Instagram web app clone using MERN Stack ( MongoDB , Express.js , React.js , Node.js ) and bring some additional features .

# Preview :

<img src="https://github.com/TheLordA/Instagram-Web-App-MERN-Stack-Clone/blob/master/Demo/LoginPageDemo.PNG" alt="Login Page Demo" width="800">

<img src="https://github.com/TheLordA/Instagram-Web-App-MERN-Stack-Clone/blob/master/Demo/HomePageDemo.PNG" alt="Home Page Demo" width="800">

# Preview Video :


https://github.com/hemant933/ReactCreations/assets/104961126/6196feca-23c3-4c7d-b870-e1d49f4e00ea


# Quick links :

1. [Usage](#usage)
2. [Todo](#todo)
3. [Contribute](#contribute)
4. [Image Copyright Claims](#image-copyright-claims)

# Usage :

1. Fork the repo and then clone it or download it.

2. First install all dependencies:

```bash
#change directory to client
cd client

# with npm
npm install

# or with yarn
yarn
```

3. Create a `config/config.js` file and insert the following code it will contains all code variables. Replace values with yours !!!

```javascript
PORT=YOUR_PORT
SESSION_SECRET_LETTER="anything-secret"
MYSQL_HOST="host"
MYSQL_USER="user"
MYSQL_PASSWORD="password"
MYSQL_DATABASE="db"
MAIL="your-email-for-sending email-verification-link"
MAIL_PASSWORD="password-for-email"
GOOGLE_GEOLOCATION_KEY='google-geolocation-key'
ADMIN_PASSWORD='password-for-admin'
```

4. Start the server
```javascript
#change directory to server
cd server

npm run dev
```
5. Now run the app
```javacript
npm start
```

# Todo List :

Features :

- [x] Explore posts
- [x] Search Users
- [x] Like & comment posts
- [x] Follow/UnFollow users
- [x] Reset password using Emails
- [x] Bookmark posts
- [ ] Show notifications
- [ ] Private messages
- [ ] Rooms discussion
- [ ] Like comments
- [ ] Block members
- [ ] Hashtags
- [ ] Tags users
- [ ] Add image filters
- [ ] Show all online members (whom you've followed)
- [ ] Story feature
- [ ] IGTV


General :

- [x] Folder restructuring
- [x] Some serious code refactoring
- [x] JSDoc & comments ( still have some more work to do )
- [ ] Upgrade packages


**Thanks for reading**
21 changes: 21 additions & 0 deletions Instagram-Clone/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Loading