Datta
Datta Able - React
Datta Able - React
  • Documentation
  • Pre-requisites
  • Quick Start
  • Folder Structure
  • State Management
  • Authentication
    • Switch to Auth0
    • Switch to Firebase
  • Axios API Calls
  • Routing
  • Project Configuration
  • Theme Layouts
  • Theme/Style Configuration
  • Integration
    • Seed
    • Comparison
  • Dependencies
  • Support
  • Changelog
Powered by GitBook
On this page
  • Installation
  • Start
  • Build & Deploy

Quick Start

Quick start your project using Datta Able.

PreviousPre-requisitesNextFolder Structure

Last updated 11 months ago

Installation

Navigate to your root folder (i.e. datta-able-react-hook-reactstrap-js/full-version)

c:\>cd datta-able-react-hook-reactstrap-js/full-version

Install Packages by npm as per your preferences. Here we are using a package manager.

c:\datta-able-react-hook-reactstrap-js> npm i 

If you are using npm, please use npm i

We would recommend yarn over npm. Why? see this:

Start

After package installation, you can start your app by using npm start command

c:\datta-able-react-hook-reactstrap-js> npm start

This will start your local server at http://localhost:3000 Also, your terminal shows the following.

Compiled successfully!

You can now view datta-able-react-hook-reactstrap-js in the browser.

Local:            http://localhost:3000    
On Your Network:  http://192.168.29.77:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

Build & Deploy

This might be too early to deploy but it is always good to know how to deploy.

To build your app in production use npm run build command

c:\datta-able-react-hook-reactstrap-js> yarn build
or
c:\datta-able-react-hook-reactstrap-js> npm run build

You’ll need to have Node v20.x.x or later on your local development machine (but it’s not required on the server). You can use (macOS/Linux) or to easily switch Node versions between different projects.

https://www.whitesourcesoftware.com/free-developer-tools/blog/npm-vs-yarn-which-should-you-choose/
nvm
nvm-windows