Skip to content

0xs3gfau1t/eSandesh

Repository files navigation

NEWS PORTAL

Dependencies

  • node: v18+

How to run

Using docker

  1. Make sure your .env on both client and server has all necessary secrets
  2. Run docker-compose up from project root directory
  3. Backend and Client now availabe on port 4000 and 8000 respectively

On your machine like a chad

Client

  1. Navigate to client
  2. Add .env with necessary secrets
  3. Run yarn or npm install to install necessary packages
  4. Run yarn dev or npm run dev to start development server

Server

  1. Navigate to server
  2. Add .env with necessary secrets
  3. Run yarn or npm install to install necessary packages
  4. Run yarn dev or npm run dev to start development server

Notes for local database initialization

First of all login as superuser mongosh

  1. Create a new database (eSandesh recommended) 1.1 use eSandesh
  2. Create a proper user ('eSandesh' recommended) with proper role as 2.1db.createUser({user: 'eSandesh', pwd: passwordPrompt(), roles: [{role: 'readWrite', db: 'eSandesh'}]})
  3. Enable authorization in /etc/mongodb.conf under Security
  4. Then fill corresponding credentials in .env

Screenshots

Home page

image

Focused mode with news recitation

image

Social Media automation

image

Releases

No releases published

Packages

No packages published

Languages