https://github.com/yanukadeneth99/social-pro
Social Media Site written in Express, Google Auth, Socket IO, JWT and more.
https://github.com/yanukadeneth99/social-pro
express-js jwt social-media
Last synced: 4 months ago
JSON representation
Social Media Site written in Express, Google Auth, Socket IO, JWT and more.
- Host: GitHub
- URL: https://github.com/yanukadeneth99/social-pro
- Owner: yanukadeneth99
- Created: 2022-08-06T21:21:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-06T21:21:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-11T19:30:24.347Z (5 months ago)
- Topics: express-js, jwt, social-media
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social Media Platform
## Stack/Tech used
- Express JS
- EJS (Templating Language)
- MongoDB
- JWT for Authentication
- Cookies
- Kue
- Morgan
- NodeMailer
- Socket IO## Features
- Post Creation, Deletion, Updating
- Google Sign in## Plans
- Move to Next JS for Front-end
- Update interface designs### Setup
Create a `.env` file with the following code and replace your values.
```
SERVER_PORT=8000
DATABASE_NAME="socialpro_db_dev"
DATABASE_IP="127.0.0.1"
DATABASE_PORT=27017
SERVER_SESSION_KEY="session_key"
GOOGLE_USERNAME="[email protected]"
GOOGLE_PASS="google_auth_key"
GOOGLE_CLIENT_ID="client_id"
GOOGLE_HEX="google_hex"
GOOGLE_CLIENT_SECRET="google_client_secret"
JWT_SECRET="jwt_secret"
```1. Install pnpm using `npm i -g pnpm`
2. Install the dependancies using `pnpm install`
3. Run the server - `pnpm run dev_start`