Client Side App for TODOlist server: https://github.com/ronanamsterdam/todolist
-
Sample React shocasing deployment of a complete web-facing microservice like app on KintoHub (https://www.kintohub.com/)
-
check it here -> https://todoclient-default-todolistdpl.web.kintohub.com/
-
Forked and modified from: https://github.com/reduxjs/redux/tree/master/examples/todomvc
-
under the hood:
- React with Redux on front-end
- Nodejs on backend
- MongoDb
- Create new Dynamic Web App using "Create from existing repo" and locate this repo
- 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)
- Create new or add your Web App to existing deployment
- 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
- Make sure https://github.com/ronanamsterdam/todolist is running locally and has MongoDb connection
npm install
npm start
- Make sure you've set REMOTE_OVERRIDE_CONNECTION_STRING in your deployment env
npm install && npm run build
npm start
In the project directory, you can run:
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.
Runs the app in prod mode using simple static server on port 3000.
- be sure to run
npm run build
before that
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!