• Stars
    star
    180
  • Rank 206,319 (Top 5 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Token authentication system using Node, Mongo, React, Redux

Token authentication system using Node, Mongo, React, Redux

Features

  • Signin, Signup, Email verification, Password reset
  • Client side forms validation
  • Node/Express rest api
  • Nodemailer configuration, Email templates
  • Webpack configuration for server and client
  • SCSS configuration
  • Linting with Airbnb eslint configuration

Screenshot

Screenshot

Getting Started

Clone Repo

git clone https://github.com/DimiMikadze/node-redux-auth.git

Server

npm install dependencies

cd node-redux-auth/server

npm install

Create index.js file inside src/config folder.

example index.js:

export const dbConfig = {
  secret: 'SomeRandomSecretString',
  db: 'mongodb://localhost:auth/auth',
};

export const emailConfig = {
  service: 'Gmail',
  auth: {
    user: '[email protected]',
    pass: 'Password',
  },
};

export const ROOT_URL = process.env.NODE_ENV === 'production' ? 'http://dimimikadze.com:3000' : 'http://localhost:3000';

Start Mongodb

mongod

Client

npm install dependencies

cd node-redux-auth/client

npm install

Commands

Open the terminal and go to the folder server/ and run npm run dev. The server is gonna start and listen in the port 3333.

Open a new terminal and go to the folder client/ and run npm run dev. The client is gonna start and listen in the port 3000.

The client is reachable on localhost:3000/reduxauth.

Script Description
npm run dev Run development server
npm run dev Run development client
npm run build build the application to ./dist
npm start Start production server with pm2 from ./dist

Contributing

contributions are welcome!

License

MIT

More Repositories

1

orca

Build modern community apps with React and Node.
TypeScript
1,202
star
2

create-react-library

React NPM library starter kit based on Facebook's create react app
JavaScript
602
star
3

laravel-angular-cms

CMS built on Laravel, AngularJS and Material Design
JavaScript
270
star
4

express-react-redux-starter

Starter for Express, React, Redux, SCSS applications
JavaScript
199
star
5

fest

SaaS boilerplate built with Node.js & React.
TypeScript
197
star
6

firebase-react-native-redux-starter

Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Example And Form Validation.
JavaScript
169
star
7

Mean-Blog

Blog using Nodejs, Expressjs, Angularjs and Mongodb. MEAN Javascript Fullstack application
JavaScript
162
star
8

react-native-game

IOS and Android mobile app "Guess famous people" built with React Native
JavaScript
130
star
9

lumen-angular-todo

Laravel lumen and AngularJS Todo Application
CSS
42
star
10

vanilla-slideshow

Vanilla Javascript CSS3 Responsive Fullscreen Slideshow
JavaScript
41
star
11

vanilla-helpers

Vanilla Javascript Helper Functions, Ajax, Effects, DOM manipulation, Styles, Utilities
JavaScript
34
star
12

es6-node-starter

ES6/7 Node starter kit with built in Rest API authentication
JavaScript
27
star
13

react-under-construction

An easily customisable, responsive under construction react page component
JavaScript
24
star
14

focused

A Google Chrome extension that will improve your focus and increase productivity by blocking distracting websites while working or studying.
TypeScript
23
star
15

sass-useful-mixins

Sass useful mixins Media Queries, Font-size, Transition, Opacity, Background image, Font face, place holder, vertical align
CSS
8
star
16

es6-simple-starterkit

Simple to understand and use ES6 Starter Kit
JavaScript
8
star
17

isomorphic-react-webapp

Shared JavaScript Web Application that runs on both the client & server using React and Node/Express.
CSS
7
star
18

orca-docs

Orca documentation website.
JavaScript
2
star
19

resume

1
star
20

eleven-symbols-website

CSS
1
star
21

create-social-network-old

Open-source software for building social networks.
JavaScript
1
star