Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T10:35:37.000Z (about 2 years ago)
- Last Synced: 2023-03-02T20:36:56.607Z (almost 2 years 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: 0
- 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
```