Skip to content

nitish166/learning-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Logs 📚

Welcome to the Learning Logs repository! This repository serves as a centralized knowledge base for the TripoO project, documenting key learnings, best practices, and configurations across various domains such as Frontend, Backend, Deployment, Authentication, AWS, and more.


📂 Repository Structure

The repository is organized into the following directories:

1. Auth/

  • Purpose: Documents the authentication process for the TripoO project.
  • Key Topics:
    • Authentication workflows
    • Token-based authentication
    • Role-based access control (RBAC)

2. AWS/

  • Purpose: Contains AWS-specific configurations and best practices.
  • Key Topics:
    • S3 bucket setup
    • EC2 instance management
    • IAM roles and permissions

3. Backend/

  • Purpose: Covers backend-specific configurations and learnings.
  • Key Topics:
    • Environment variable management
    • MongoDB configuration
    • API design and best practices
    • Integration with third-party services like Razorpay and Google OAuth

4. Deployment/

  • Purpose: Focuses on deployment workflows and CI/CD pipelines.
  • Key Topics:
    • Deployment to EC2 instances
    • CI/CD pipeline setup
    • Process management with PM2
    • Environment variable synchronization

5. Frontend/

  • Purpose: Documents frontend-specific configurations and best practices.
  • Key Topics:
    • React project setup (CRA, Vite)
    • Role-based UI rendering
    • React Router DOM (v6) strategies
    • Tailwind CSS setup and usage

6. Interview/

  • Purpose: Contains interview preparation materials and notes.
  • Key Topics:
    • Commonly asked questions
    • TripoO-specific interview scenarios

7. MongoDB/

  • Purpose: Focuses on MongoDB-specific learnings and optimizations.
  • Key Topics:
    • Indexing strategies
    • Query optimization
    • Best practices for schema design

📝 Key Highlights

1. Role-Based Access Control (RBAC)

  • Backend middleware for role-based access.
  • Role-based UI rendering in the frontend.
  • Challenges and solutions for implementing RBAC.

2. React Routing

  • Centralized route configuration using AppRoutes.jsx.
  • Lazy-loaded routes for performance optimization.
  • Auth guards for protected routes.

3. Deployment Best Practices

  • Secure .env file management.
  • Automating deployments with CI/CD pipelines.
  • Process management using PM2.

4. MongoDB Indexing

  • Types of indexes and their impact on query performance.
  • Best practices for compound indexes.
  • Real-world examples from the TripoO project.

🚀 How to Use This Repository

  1. Explore Topics:

    • Navigate to the relevant directory to find detailed documentation on specific topics.
  2. Learn Best Practices:

    • Follow the documented best practices to improve your workflow and project setup.
  3. Contribute:

    • Found something missing? Feel free to contribute by adding your learnings or improving existing documentation.

📌 Next Steps

  1. Expand Documentation:

    • Add more examples and real-world use cases.
    • Document additional tools and technologies used in the TripoO project.
  2. Centralize Knowledge:

    • Ensure all team members contribute their learnings to this repository.
  3. Keep It Updated:

    • Regularly update the repository as the project evolves.

🤝 Contributing

Contributions are welcome! If you have any insights, best practices, or improvements to share, feel free to submit a pull request.


📄 License

This repository is licensed under the MIT License.


📧 Contact

For any questions or suggestions, feel free to reach out to the TripoO team.

Happy Learning! 🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published