Git Product home page Git Product logo

Comments (8)

Nealyang avatar Nealyang commented on May 22, 2024

image
最简单直白的方法就是你导入这个数据库了以后,进入到数据库去看看,有没有这些数据
@Italic-2012

from react-express-blog-demo.

Italic-2012 avatar Italic-2012 commented on May 22, 2024

你这是BSON存储格式,跟注册没关系吧

from react-express-blog-demo.

Nealyang avatar Nealyang commented on May 22, 2024

所以你是连接数据库成功了?注册没有反应?

那么截图登录成功了是什么情况?

from react-express-blog-demo.

Italic-2012 avatar Italic-2012 commented on May 22, 2024

image
image

from react-express-blog-demo.

Nealyang avatar Nealyang commented on May 22, 2024

注册后,users的collection有数据吗?

from react-express-blog-demo.

Italic-2012 avatar Italic-2012 commented on May 22, 2024

image
成功了!但是怎么进入管理后台?

from react-express-blog-demo.

Nealyang avatar Nealyang commented on May 22, 2024

因为进入管理后台是超级管理,所以超级管理,不可能是前端注册来的。是初始化数据库写入的。
1、 内置一个超级管理员,用户名、密码啥的
2、 看注册那部分nodejs代码,把注册的用户type设置为admin

from react-express-blog-demo.

forturegrant avatar forturegrant commented on May 22, 2024

default

进了,谢谢解答!

from react-express-blog-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.