> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Schema trong MongoDB

Trong phần này, chúng ta sẽ tìm hiểu mô hình dữ liệu của Overleaf. Overleaf sử dụng MongoDB để lưu trữ dữ liệu, và cơ sở dữ liệu duy nhất có tên là `sharelatex`, cũng chính là tên tiền thân của Overleaf.

Nếu bạn chưa thiết lập Mongo Express cho Overleaf, chúng tôi đặc biệt khuyên bạn xem [setup-develop-tools.md](/vi/dev/environment/setup-develop-tools "mention") và thiết lập Mongo của mình.

Sau khi đã thiết lập Mongo Express, bạn có thể đăng nhập vào [http://localhost:8081/](http://localhost:8081/) với thông tin đăng nhập `admin:pass`.

<Frame>
  <img src="https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/images/dev/screenshot-1768810061206.png?fit=max&auto=format&n=x9kfDjtWlyyhG_mR&q=85&s=88408050488f97318ca11dfcfd7276b0" alt="" width="1563" height="1107" data-path="images/dev/screenshot-1768810061206.png" />
</Frame>

Có nhiều schema trong MongoDB, ở đây chúng ta chủ yếu tập trung vào các schema liên quan đến Overleaf CE:

<Card title="Collection Users" icon="file-lines" href="/vi/dev/data-model/users-collection" horizontal />

<Card title="Collection Projects" icon="file-lines" href="/vi/dev/data-model/projects-collection" horizontal />

<Card title="Collection Docs" icon="file-lines" href="/vi/dev/data-model/docs-collection" horizontal />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.