https://github.com/mikeludemann/mern-stack-auth-starter
MERN Stack Authentication Starter Setup - Login, Registration and User (Dashboard) pages with auth and more
https://github.com/mikeludemann/mern-stack-auth-starter
authentication bootstrap database expressjs jquery jwt mern-stack mongodb nodejs passport react react-dom react-redux react-router redux
Last synced: 4 months ago
JSON representation
MERN Stack Authentication Starter Setup - Login, Registration and User (Dashboard) pages with auth and more
- Host: GitHub
- URL: https://github.com/mikeludemann/mern-stack-auth-starter
- Owner: mikeludemann
- License: mit
- Created: 2020-06-18T12:19:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T10:35:37.000Z (over 2 years ago)
- Last Synced: 2025-02-02T04:13:07.292Z (5 months ago)
- Topics: authentication, bootstrap, database, expressjs, jquery, jwt, mern-stack, mongodb, nodejs, passport, react, react-dom, react-redux, react-router, redux
- Language: JavaScript
- Homepage:
- Size: 5.17 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mern-stack-auth-starter
A MERN Stack Authentication Starter
* Passport and JWT for security and authentication.## Technologies
### Frontend
* React and React Router### Backend
* Express and Node### Database
* MongoDB (NoSQL)### State Management between React components
* Redux## Configuration
Database setup - `config/keys.js`.
```javascript
module.exports = {
mongoURI: 'mongodb://localhost:27017/mern-stack-auth-starter', // Change this URI to your database location
secretOrKey: 'secret'
};
```## Prerequisite
```javascript
// Install dependencies for server & clientnpm install && npm run client-install
```## Start the application
```javascript
// Run client & server with concurrentlynpm run dev
// Server runs on http://localhost:5000 and client on http://localhost:3000
```