简体   繁体   English

我的应用程序的基本身份验证-Node JS和Mongo作为后端,而Angular作为前端

[英]Basic authentication for my app - Node JS & Mongo as backend and Angular as front end

I've decided I need to take on some new challenges and so decided I want to learn to build an app using mongo db, node js, and angular. 我已经决定需要承担一些新的挑战,因此决定要学习使用mongo db,node js和angular构建应用程序。

I have a little knowledge on NodeJS, but I am totally new to AngularJS and NodeJs authentication. 我对NodeJS有一点了解,但是我对AngularJS和NodeJs身份认证完全陌生。 I am creating a simple blogging app in AngularJS as the front end and NodeJs-MongoDB combo as backend, where in users can 我在AngularJS中创建了一个简单的博客应用程序作为前端,在NodeJs-MongoDB组合中创建了后端,用户可以在其中

  1. create account 创建帐号
  2. login to existing account 登录到现有帐户
  3. write some new blog (can mark it as private) 写一些新博客(可以将其标记为私人)
  4. view his previous blogs 查看他以前的博客
  5. view others blog (which weren't marked private) 查看其他博客(未标记为私有)

Need some help on how to have a basic level authentication for user login at the backend side and how to maintain cookies and sessions. 需要一些帮助,以了解如何在后端对用户登录进行基本级别的身份验证以及如何维护Cookie和会话。

Make life easy. 让生活变得轻松。 Express & Stormpath. 快递与风暴之路。 You should have full auth up in a few minutes. 您应该在几分钟内完成完整的身份验证。

https://docs.stormpath.com/nodejs/express/ https://docs.stormpath.com/nodejs/express/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在单个 Azure Web 应用程序中具有 Angular 前端的 Node/Express 后端 - Node/Express Backend with Angular Front End in a Single Azure Web App 如何向 node js 用户身份验证项目添加前端和后端验证? - How can i add a front end and backend validation to a node js user authentication project? 在处理前端有Angular而后端有Java的应用程序时,删除node.js层是一个好主意吗? - Is it a good idea to remove node.js layer while working with the application having Angular in front end and Java in the backend? 如何在Node js后端服务器中创建对象并将其传递给Angular 2前端 - How to create an object in Node js backend server and pass it to Angular 2 front end 为Vue应用程序前端和node.js后端配置Nginx - Configure nginx for both Vue app front end and node.js backend Java / Android前端客户端和节点js后端服务器? - Java/Android front-end client and node js backend server? 为 node js 后端 API 创建 Express 前端 - Creating Express front end for node js backend API 如何将后端(Node.js)链接到前端(React) - How to LInk Backend(Node.js) to front-End(React) 我的 React 前端无法调用我的 node-express 后端服务器,全栈应用程序部署在 heroku - My React front-end is unable to call my node-express backend server, the fullstack app is deployed in heroku 如何将新的 React JS 前端嵌入到我现有的单体 Node JS 应用程序中? - How can I embed new React JS Front-end in my existing monolithic Node JS App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM