/react_admin

Primary LanguageJavaScriptMIT LicenseMIT

Installation

# clone the repo
$ git clone 

# go into app's directory
$ cd my-project

# install app's dependencies
$ npm install

Create React App

This project was bootstrapped with Create React App

Basic usage

# dev server  with hot reload at http://localhost:3000
$ npm start

Navigate to http://localhost:3000. The app will automatically reload if you change any of the source files.

Build

Run build to build the project. The build artifacts will be stored in the build/ directory.

# build for production with minification
$ npm run build

What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

CoreUI-React#v2.0.0
├── public/          #static files
│   ├── assets/      #assets
│   └── index.html   #html template
│
├── src/             #project root
│   ├── containers/  #container source
│   ├── scss/        #user scss/css source
│   ├── views/       #views source
│   ├── App.js
│   ├── App.test.js
│   ├── index.js
│   ├── _nav.js      #sidebar config
│   └── routes.js    #routes config
│
└── package.json

Insert Data in mongo console

db.users.insert( 
  { 
    username: "user1", 
    email: 'demo@gmail.com', 
    password: '$2b$10$WhDP3lO5avHB1vXaC.dpnejHso87gVAS.Hxz9iwJN6TZ0b95vV/IW'
  }
);
db.users.insert( {
  username: 'user2',
  email: 'developers@example.com',
  password: '$2b$10$WhDP3lO5avHB1vXaC.dpnejHso87gVAS.Hxz9iwJN6TZ0b95vV/IW'
})