项目
在 GitHub 查看
rishipr/mern-auth
关于
基于 MERN(+ Redux)的用户身份验证样板,使用 Passport.js 和 JWT
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文mern-auth
Minimal full-stack MERN app with authentication using passport and JWTs.
This project uses the following technologies:
- React and React Router for frontend
- Express and Node for the backend
- MongoDB for the database
- Redux for state management between React components
Medium Series
- Build a Login/Auth App with the MERN Stack — Part 1 (Backend)
- Build a Login/Auth App with the MERN Stack — Part 2 (Frontend & Redux Setup)
- Build a Login/Auth App with the MERN Stack — Part 3 (Linking Redux with React Components)
Configuration
Make sure to add your own MONGOURI from your mLab database in config/keys.js.
module.exports = {
mongoURI: "YOUR_MONGO_URI_HERE",
secretOrKey: "secret"
};
Quick Start
// Install dependencies for server & client
npm install && npm run client-install
// Run client & server with concurrently
npm run dev
// Server runs on http://localhost:5000 and client on http://localhost:3000
For deploying to Heroku, please refer to this helpful video by TraversyMedia.
探索相关项目
加载中…