Skip to content

dev-esakki/React-admin-panel

Repository files navigation

Installation

# clone the repo
$ git clone https://github.com/dev-esakki/React-admin-panel.git my-project

# 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

Environmental Files

.env.development => for development

.env.staging => for staging

.env.production => for production

every variable must be prefixed with (REACT_APP_)

(ex..) REACT_APP_API_URl=[http://localhost:5000]

Bind this value in any part of the application by using node.js process command {process.env.REACT_APP_API_URl}

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 temlpate
│
├── 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages