This MERN (MongoDB, Express.js, React.js, Node.js) stack project aims to provide a platform for users to share secrets anonymously. It includes key functionalities.
📹 Watch the Demo SecretSphere Demo
- Implemented a secure authentication system that included user registration, login, and password recovery functionalities using JWT Tokens.
- Designed a user-friendly home screen featuring a section for posting secrets.
- Allows each user to share one secret message.
- Displays secrets shared by other users without revealing the identity of the person sharing it.
- Ensured the application was responsive on various devices such as tablets, desktops, and phones.
- Utilized front-end frameworks Tailwind CSS to achieve responsiveness.
- MongoDB
- Express.js
- React.js
- Node.js
- Front-end framework: Tailwind CSS
- JWT (Json Web Token) for authentication
- Bcrypt for hashing password
- Nodemailer for sending mail
- Zod for backend validation
- Clone the repository.
- Navigate to the project directory Frontend/Backend.
Client Side:
- Install dependencies using
npm install
. - Run
npm run dev
to start the react frontend.
Server Side:
- Install dependencies using
npm install
. - Set up environment variables in Backend (Provided .env.example file)
- Run
npm start
to start the development server with Nodemon. - Run
mongod --dbpath <data location>
to start mongodb database locally, don't forget to create the empty data folder before.
- Visit the deployed website or run locally by following setup instruction given above.
- Register or log in to the application.
- Explore the home screen to post and view secrets.
- Enjoy the anonymous sharing experience!
- Forgot/Reset Password feature.