Skip to content

unreal0901/anonymous_forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployed

React/Link: https://leakit.netlify.app/

Screenshots

App Screenshot

Status

Netlify Status

Tech Stack

Client: React Redux Tailwind CSS

Server: Node.js Express Mongodb

Leakit (Anonymous forum app)

  • This is an anonymous forum application created in MERN stack.
  • It's inspired by 4chan forum application which initially was anonymous
  • It can be used to confess.express.chat anonymously.
  • Only IP of users are stored nothing else.

Flow

  • Board- There are boards, boards encapsulates all other objects like threads and replies.
  • Person can create a board and reply to threads or other replies

Authentication Flow:

  • No authentication needed
  • Just a session is created for each user who visits inside mongdo db database using mongodb store package from npm.

API Reference

There are 3 core/base routes:

  • Board route:
/api/boards
  • Reply route:
/api/reply
  • Thread route:
/api/thread

  • SUB ROUTES FOR /boards :-
GET /
GET /board
POST /create
  • SUB ROUTES FOR /reply :-
GET /replies
GET /childReplies
GET /thread
POST /create
  • SUB ROUTES FOR /thread :-
GET /threads
GET /thread
GET /threads/board
POST /create

Run Locally

Clone the project

  git clone https://github.com/unreal0901/anonymous_forum.git

For running the project locally, first clone the project using git clone

  • Project has 2 sections
  1. frontend directory
  2. backend directory

requirement:

  • node and npm should be installed

Go to the project directory

   cd backend
 npm i
 npm run start

cd ..
cd frontend
npm i
npm run start

With this both backend and frontend will be running locally in development environment.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Frontend:

Backend:

  • NODE_ENV=development
  • DEPLOY_STAGE
  • MONGODB_USERNAME=(any username for mongodb)
  • MONGODB_PASSWORD=(any pass)
  • MONGODB_DATABASE_NAME=(Enter any database name)
  • MONGODB_SESSION_DATABASE_NAME
  • SESSION_SECRET

Releases

No releases published

Packages

No packages published