martin-corevski / react-basics-http

React 16 http basics with axios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React http basics


Install dependencies

cd path-to-your-project
npm install

Additional install

npm i -g ntl
  • By running ntl you can choose which script to run. For example start, build, build:prod and watch will be some of the choices. All of these scripts are in the package.json file in the scripts object.
  • Command to start ntl and choose an option
ntl

Without ntl

If you don't want to use ntl you can use the npm run command with the chosen script, examples:

  • For development bundle
npm run build
  • For production ready bundle
npm run build:prod
  • For development server
npm start
  • For Webpack watch
npm run watch
  • For testing with jest
npm run test

License

MIT

About

React 16 http basics with axios


Languages

Language:JavaScript 90.8%Language:CSS 7.6%Language:HTML 1.7%