Skip to content

prithishsamanta/AI-Powered-Personal-Knowledge-Vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered-Personal-Knowledge-Vault

A secure, full-stack, cloud-based note-taking platform that uses OpenAI to automatically summarize your notes. Organize thoughts in tabs, find content instantly, and never lose the big picture again.

React Node.js MongoDB OpenAI License


Features

  • Create, edit, and organize notes into folders/tabs
  • One-click AI summarization using OpenAI GPT
  • User authentication (Sign up / Log in with JWT)
  • Cross-device access with cloud data sync
  • MongoDB Atlas for persistent storage
  • Optional support for file uploads (PDFs, images)
  • Real-time note saving with full-text search
  • Secure backend with hashed credentials and token-based auth

Tech Stack

Layer Technologies
Frontend React.js, React Router
Backend Node.js, Express
Database MongoDB Atlas, Mongoose
AI OpenAI API (GPT-4)
Security JWT, bcryptjs
DevOps Docker

Local Setup

1. Clone the Repository

git clone https://github.com/yourusername/ai-knowledge-vault.git
cd ai-knowledge-vault

2. Backend Setup

cd backend
npm install

Create a .env file in the backend/ folder:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
OPENAI_API_KEY=your_openai_api_key

Start the server:

npm start

3. Frontend Setup

cd ../frontend
npm install
npm run dev

API Endpoints

All protected routes require an Authorization: Bearer <token> header.

Method Endpoint Description
POST /api/auth/signup Register a new user
POST /api/auth/login Log in and get JWT token
GET /api/notes Get all notes
GET /api/notes/:id Get one note
POST /api/notes Create new note
PUT /api/notes/:id Update a note
DELETE /api/notes/:id Delete a note
POST /api/notes/:id/summary Generate AI summary

AI Integration

  • This project uses OpenAI's gpt-4o model to generate automatic summaries of notes - (https://platform.openai.com/) .
  • Summaries are stored alongside the original note in MongoDB.

Author

Prithish Samanta
M.S. in Computer Science @ NC State University


License

This project is licensed under the MIT License.


Contributions

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages