Second_Brain

Second Brain

Visit the live website at: https://vats-second-brain.netlify.app/

Overview

Second Brain is an application designed to save your content with integrated dynamic embedding of social content such as Twitter, Reddit, and YouTube. It allows you to capture, organize, and access your saved content for future reference efficiently.

Features

Technologies Used

Backend

Frontend

Getting Started

Prerequisites

Backend Setup

  1. Navigate to the backend directory:
    cd backend
    
  2. Install dependencies:
    npm install
    
  3. Create a .env file in the backend directory and add necessary environment variables, for example:
    MONGODB_URI=your_mongodb_connection_string
    JWT_SECRET=your_jwt_secret
    PORT=5000
    
  4. Build the backend TypeScript code:
    npm run build
    
  5. Start the backend server:
    npm start
    

Alternatively, you can run the backend in one step (build and start):

npm run dev

The backend server will run on the port specified in your .env file (default 5000).

Frontend Setup

  1. Navigate to the frontend directory:
    cd frontend
    
  2. Install dependencies:
    npm install
    
  3. Start the development server:
    npm run dev
    

This will start the frontend on a local development server (usually http://localhost:5173).

  1. To build the frontend for production:
    npm run build
    
  2. To preview the production build locally:
    npm run preview
    

Folder Structure

Usage

This project serves as a content saving and embedding platform where you can capture, organize, and retrieve notes and social media content efficiently. Use the frontend interface to interact with your data, and the backend handles data storage and authentication.

Contributing

Contributions to improve the Second Brain framework are welcome. Please feel free to submit a pull request or open an issue to discuss potential improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments