You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
Use react-scripts interface to manage the Hospital Run Frontend. This should include service/state/interface injections from #12
Codegen
Route based generation. Use schema extensions to map routes to components
Example
Getting started With CRA:
git clone --branch next https://github.com/HospitalRun/hospitalrun-frontend.git
npx create-react-app hospitalrun-frontend
cd hospitalrun-frontend
npm start
Codegen:
# mono repo runs codegen then creates
# ./packages/hospitalrun-frontend/src/routes/index.tsx
# In the Frontend
import {Router} from './routes' // Fully loaded router from spec
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🚀 Feature Proposal
Create React App(CRA) Frontend
Motivation
Use react-scripts interface to manage the Hospital Run Frontend. This should include service/state/interface injections from #12
Codegen
Route based generation. Use schema extensions to map routes to components
Example
Getting started With CRA:
Codegen:
Blocking Issues:
The text was updated successfully, but these errors were encountered: