Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Create React App #14

Closed
1 task
PhearZero opened this issue Sep 8, 2019 · 3 comments
Closed
1 task

Create React App #14

PhearZero opened this issue Sep 8, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@PhearZero
Copy link
Contributor

PhearZero commented Sep 8, 2019

🚀 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:

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

Blocking Issues:

@stale
Copy link

stale bot commented Nov 7, 2019

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.

@stale stale bot added the wontfix This will not be worked on label Nov 7, 2019
@matteovivona matteovivona removed the wontfix This will not be worked on label Nov 12, 2019
@matteovivona
Copy link
Collaborator

@jackcmeyer can we close this?

@jackcmeyer
Copy link
Member

@tehKappa yes

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants