keblodev / todoclient

React + Redux as microservice

Home Page:https://todoclient-default-todolistdpl.web.kintohub.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client Side App for TODOlist server: https://github.com/ronanamsterdam/todolist

To deploy on kinto:

  1. Create new Dynamic Web App using "Create from existing repo" and locate this repo
  2. Provide env vars in kinto UI as specified in .env.example file (to get auth token -> you need to create and deploy new deployment with create app -> from there just follow instructions)
  3. Create new or add your Web App to existing deployment
  4. Deploy -> your app will be available within 1-2mins -> the url is provided in text box nex yo your WebApp name in environment deployment result

To run locally:

  1. Make sure https://github.com/ronanamsterdam/todolist is running locally and has MongoDb connection
  2. npm install
  3. npm start

To run remote:

  1. Make sure you've set REMOTE_OVERRIDE_CONNECTION_STRING in your deployment env
  2. npm install && npm run build
  3. npm start

Available Scripts

In the project directory, you can run:

npm dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm start

Runs the app in prod mode using simple static server on port 3000.

  • be sure to run npm run build before that

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Docs to read:

About

React + Redux as microservice

https://todoclient-default-todolistdpl.web.kintohub.com/

License:MIT License


Languages

Language:JavaScript 98.5%Language:HTML 1.5%