- React 16
- Webpack 3
- React Router 4
- SASS
- Babel Cli
- Hot Module Reloading
- Jest 21
- Enzyme 3 for testing
- Node
- Express
- MongoDB
- Multichain
- Pay using a smart wallet or using money
- Your medical records are always close and authentic
git clone git@github.com:MounirDhahri/Tunihack.git
- run and install the dependencies for each component: ###Server
cd server
npm install
npm start
###Client
cd client
npm install
npm start
###Mobile
cd mobile
npm install
react-native run-ios // run-android
###Blockchain you will need multichain in your cli
cd blockchain
multichaind NationalHealthBlockchain -daemon
- To Run the development server:
cd client
npm run dev
cd server
npm run dev
Open the web browser to http://localhost:8888/
To run unit tests:
npm test
Tests come bundled with:
- Jest
- Enzyme
- React Test Utils
- React Test Renderer
npm run build
There is a .eslint.yaml
config for eslint ready with React plugin.
To run linting, run:
npm run lint
- styles having /src/ in their absolute path considered part of the application and exported as local css modules.
- other styles considered global styles used by components and included in the css bundle directly.
Please contribute to the project if you know how to make it better, including this README :)