Skip to content

falgunmpatel/thought-forge

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact
  6. Acknowledgments

About The Project

πŸš€ Thought Forge πŸ“

Thought Forge is an innovative platform designed to provide users with a space for receiving anonymous messages. Built with a modern stack including Shadcn/UI, Aeternity UI, Next.js, NextAuth.js, React-Hook-Forms, and Google Generative AI, this platform offers a seamless user experience with intuitive functionality.

πŸ”‘ Key Features

  • User Authentication: Users can easily sign in or sign up, powered by NextAuth.js, ensuring secure and hassle-free access to their accounts.
  • Dynamic Dashboard: After signing in, users are directed to their personalized dashboard, where they can view, refresh, and manage messages from anonymous users.
  • Message Management: Users can enable or disable message reception, read incoming messages, delete unwanted ones, and refresh their dashboard for new updates.
  • Public Message Link: Every user gets a public link to share, allowing others to send anonymous messages without the need to sign in or create an account.
  • AI-Powered Message Suggestions: Senders have the option to write custom messages or choose from AI-generated suggestions, powered by Google Generative AI, for a seamless and interactive experience.

(back to top)

πŸͺͺ Demo Credentials

username: falgunmpatel9123@gmail.com
password: thoughtforge

(back to top)

πŸ’» Technologies Used

  1. FullStack: Next.js
  2. Authentication: NextAuth.js
  3. UI Components: shadcn/ui + Aceternity UI
  4. Message Suggestions: Google Generative AI (Gemini)

(back to top)

Screenshots:

home-page

Home Page

user-dashboard

User's Dashboard

signin-page

Sign In Page

signup-page

Sign Up Page

message-page

Suggest Message Page

Getting Started

Prerequisites

Basic knowledge of React is required to setup this project.

Download latest version of npm here:

  • npm
 npm install npm@latest

NOTE: I used npm version @10.5.0 while creating this project

Installation

  1. Clone the repo

    git clone https://github.com/falgunmpatel/thought-forge
  2. Install NPM packages

    npm install
  3. Create a .env file in the root directory of the project and add following content to it

    MONGODB_URI=
    RESEND_API_KEY=
    AUTH_SECRET=
    NEXTAUTH_SECRET=
    GOOGLE_GenAI_API_KEY=
    AUTH_GOOGLE_ID=
    AUTH_GOOGLE_SECRET=
    

    or you can do it by this command

    cp ./.env.sample ./.env  
    
    NOTE:
    1. Go to Google AI Studio, Sign In andcreate your API Key.
    2. Go to Google Cloud Console, Sign In -> Click on Apis and Services and create authentication credentials. 3. Finally, You need to copy these credentials in the .env file for proper functioning of this project. You may use NextAuth Secret of your choice.
  4. Run the project by running the following command in the root directory of the project

      npm run dev

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Name - Falgun Patel Email - falgunmpatel9123@gmail.com

Project Link: thought-forge

(back to top)

Acknowledgments

  1. Next.js Playlist @ChaiAurCode
    Mentor: Hitesh Choudhary

  2. Full Stack: Next.js

  3. Forms: Docs @React-Hook-Forms

  4. UI Components: shadcn/ui, Aceternity UI

  5. Authentication: NextAuth.js

(back to top)

About

A next.js project with auth.js and AI Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published