This project was bootstrapped with Create React App.
Using:
- Styles Bulma Components
- Store for application state management Mobx
- Framework React
Bulma Components have 4 high security issues!
Create .env
file to pass 3rd party api ids etc to the front end. The file format is:
REACT_APP_FACEBOOK_APP_ID=123456789
REACT_APP_SECRET_KEY=0000
REACT_APP_
- prefix is important if you want the env variable visible to the front end.
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!
See the section about deployment for more information.
To serve and test locally the build.
To deploy to the facebook instant games web hosting.
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
We could use simple trained regression algorithim or small neural network to calculate the resulting amount of camels. This could make the app harder to copy and tracking copies easier.
Posting to Facebook and cancelling the post causes an exception to be thrown (in Promise and it is unhandled).
Localization improvements:
- Localization of React with Mobx
- automatically detect the browser language
- Localize instant game
- Skandinavian letter a with dots won't work as an html entity marking in translation.
Aria compatible select etc