Project introduction
This project is the frontend for the https://gitlab.croptrust.org/grin-global/grin-global-server APIs.
It is written in typescript using React and compiled to JS.
The project code will be compiled and packaged into several project artefacts:
- A Docker image using expressjs (similar to genesys-ui) for use with a browser
- An app to run on the desktop using Electron
- An app to run on mobiles using Cordova (?)
It will have multiple entry points (desktop, mobile, web) but we will try to reuse as much code as possible between web, mobile and desktop versions of the app.
In this ticket, set up the project environment by creating the <App />
with a dummy <Login />
component asking for username and password.
- Add
package.json
- Configure tslint
- Set up webpack with live-reloading for development
- Set up react with redux, redux-saga
- Set up React component testing
- Set up i18n
Follow the development approaches we use in genesys-ui for source code structure.