https://github.com/8-bit-souvik/wetalk
A social media platform where user can share thoughts with text and media and build community with fun!
https://github.com/8-bit-souvik/wetalk
blogging-system docker docker-compose express express-js expressjs heroku javascript jwt-authentication mongodb newsfeed nodejs nodejs-server social-network
Last synced: 4 months ago
JSON representation
A social media platform where user can share thoughts with text and media and build community with fun!
- Host: GitHub
- URL: https://github.com/8-bit-souvik/wetalk
- Owner: 8-bit-souvik
- License: apache-2.0
- Created: 2022-01-05T03:51:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-27T19:38:10.000Z (over 3 years ago)
- Last Synced: 2025-04-02T10:41:45.506Z (6 months ago)
- Topics: blogging-system, docker, docker-compose, express, express-js, expressjs, heroku, javascript, jwt-authentication, mongodb, newsfeed, nodejs, nodejs-server, social-network
- Language: JavaScript
- Homepage: https://wetalk021.herokuapp.com/
- Size: 723 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About weTalk
This is an inter-college social media application where users can interact to each others and share their ideas, doubts or any queries and can do like, comment to others' post.
![]()
-------------------------------------------------------------------------------------------------------------------------------------------------------
JavaScript
· Node JS
· Express
API
· JSON
· mongoose
HTML
· CSS
· ejs
Social media
· blogging app
Try it!
![]()
![]()
![]()
![]()
## [Click here to land on the Homepage](https://wetalk021.herokuapp.com/)## Intro
[weTalk](https://wetalk021.herokuapp.com/) is a Social media application built with NodeJS where user can get socialize with each other by uploading post, like and comment on their posts.
## Summary
- First thing first, user have to signin with github account
- User can see What other users are posting
- User can also upload any post (till now only text), character limit: 1-1500
- User can like and comment in any post
- User can hide any post for that time from news feed
- User can delete his own post or comment
## 💻 Tech Stack
#### Front-End:
![]()
![]()
#### Back-End:
![]()
![]()
![]()
![]()
#### DataBase:
![]()
#### Other:
![]()
![]()
![]()
![]()
### 🌐 This application is now remotely hosted
### 👉 [here is the link](https://wetalk021.herokuapp.com/)
### 💻 Or try to set it up locally:
# Local Environment setup
## Create credentials in [imagekit.io](https://imagekit.io/)
after creating an account go to the [developer option](https://imagekit.io/dashboard/developer) and collect your `URL-endpoint`, `Public Key` and `Private Key`

## dotenv file creation
In this dotenv file all keys and credentials for this web app will be stored.
Create a file named `.env` at the root of the directory, then fill these data given below:Paste your `Public Key`, `Private Key` and `urlEndpoint` which you have collected
```
PORT = '5510'
passphrase = 'adhguiewhrh89fgrt6wterg23edg'
JWT_token = '56t3yde8u23g7d6847e823wr623e'
clientID = 'fcbda448c36edfee295f'
clientSecret = 'e33eb5206a91d3dbf55f1252d5bf462819b41dda'
mongoAddress = 'mongodb://localhost:27017/sampleBlog'
publicKey =
privateKey =
urlEndpoint =
```***if you have any other Mongo DataBase replace the given `mongoAddress` URI with your own.**
## NPM package installation
Install Node JS to run this program in server side.
open a terminal and go to it's root directory.
type `npm install` to install all NPM libraries mentioned in package.json as dependencies## Run this app
environment setup is completed.
now start the server by running `npm start`
go to the browser and type URL `localhost:5510`
### 📦 Or use Docker compose:
# Docker setup (Local Env)
## Docker engine installation
install docker engine from [here](https://docs.docker.com/engine/install/)
## Docker Compose installation
install docker compose from [here](https://docs.docker.com/compose/install/)
## Get docker-compose.yml:Save the [yml file](https://github.com/8-bit-souvik/weTalk/blob/master/docker-compose.yml) for docker-compose
## Pull and run containers
- Run command `sudo docker-compose up` or `sudo docker-compose up -d` ([detached mode](https://docs.docker.com/engine/reference/run/#detached-vs-foreground)) to run containers
- check those running containers by command: `sudo docker ps`
## Enjoy it!
Go to the browser and type URL `localhost:5510`
for any kind of problem or queries contact me on
or
DM is open 📩
