Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问大佬MongoDB 数据库如果设计?写入文章的地址是什么? #58

Open
Typedef-Jia opened this issue Nov 14, 2024 · 3 comments

Comments

@Typedef-Jia
Copy link

No description provided.

@lnbiuc
Copy link
Owner

lnbiuc commented Nov 14, 2024

没明白你的意思,MongoDB设计好结构之后,第一次写入数据会自动创建集合,只需要指定库名即可。

具体结构可以看这个文件

server/models/article.schema.ts

@Typedef-Jia
Copy link
Author

谢谢大佬我看到了,已经创建新用户了,登录界面没有找到,怎么登录,登录之后会有admin这个选项吗,我是本地部署的

@lnbiuc
Copy link
Owner

lnbiuc commented Nov 14, 2024

登录 /violet/login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants