This app is made to connect anyone virtually with everyone around any corner of the world.
- Create profile
- Follow others and other will follow you
- Share photos, videos, youtube links
- Home section to see posts of freinds and mutual friends
- Trending section to see trending posts and videos
- Search people around any corner of world
- Like, comment, share in posts
- NodeJS + ExpressJS
- MongoDB Atlas + Mongoose ODM
- Socket.io
- Cloudinary
- JSON Web Tokens
- Google login and fb login
Client repo : https://github.com/sanjaymajhi/chat-app-client
create .env file in the root directory and put this :
MONGODB_URI=<generate from mongodb atlas website>
CLOUD_NAME=<generate from cloudinary>
API_KEY=<generate from cloudinary>
API_SECRET=<generate from cloudinary>
- clone this repo
- clone the API repo
- Make .env files in both directories
- do npm install in both directories
- Now in bash, type npm run start-both (in backend folder bash)
- Website : http://chat-app-by-sanjay.herokuapp.com/login
- Demo Video : https://www.linkedin.com/feed/update/urn:li:activity:6676831891921915904/
server{
listen 80 default_server;
listen [::]:80 default_server;
server_name localhost;
location / {
root /home/ubuntu/chat-app-client/build;
index index.html;
try_files $uri /index.html;
}
location /users {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:9000;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;
}
}