# Automation of create-openmrs-owa with React Components

**URL:** <https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043>\
**Category:** GSoC\
**Tags:** gsoc2019, reactjs\
**Created:** [March 2, 2019, 8:12pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043 "2019-03-02T20:12:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![beingtmk](https://talk.openmrs.org/user_avatar/talk.openmrs.org/beingtmk/32/21209_2.png) [@beingtmk](https://talk.openmrs.org/u/beingtmk)\
**Post date:** [March 2, 2019, 8:12pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/1 "2019-03-02T20:12:27Z")

</div>

Hello @mogoodrich & @suthagar23,

I am a Bio Sciences and Bio Engeneering undergrad at IIT Guwahati.

I have used ReactJS in my previous projects, one of which can be viewed at [https://lenshood.in](https://lenshood.in)

I am following the Getting Started Guide to set up the OpenMRS project. And also the openmrs-react-components repository.

Hoping to learn a lot from you guys and this community!

Any guidance is very much appreciated.

Regards, Mithilesh

---

<div class="post-metadata">

**Author:** ![suthagar23](https://talk.openmrs.org/user_avatar/talk.openmrs.org/suthagar23/32/6342_2.png) [@suthagar23](https://talk.openmrs.org/u/suthagar23)\
**Post date:** [March 3, 2019, 12:52pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/2 "2019-03-03T12:52:56Z")

</div>

Hi @beingtmk,

Thanks for the interest on this project. Go ahead and explore more about OpenMRS, OpenMRS Development, and OWA development with react. Good to pick some OpenMRS tickets and start to work on those to get familer with OpenMRS Platform.

cc: @judeniroshan

Thanks

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 6, 2019, 6:13pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/3 "2019-03-06T18:13:31Z")

</div>

Hello @mogoodrich, @suthagar23

I am a Computer Science sophomore at Indian Institute of Technology, Roorkee (IITR).  
I have experience in ReactJS , Redux, Django(python), PHP, MySql.  
I have recently read OpenMRS ideapage and found this project very interesting and would like to work on this project during GSoC 2019.I have already requested for accessing JIRA and will work on the issues as soon as I get the access .  
Any help will be appreciated. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![suthagar23](https://talk.openmrs.org/user_avatar/talk.openmrs.org/suthagar23/32/6342_2.png) [@suthagar23](https://talk.openmrs.org/u/suthagar23)\
**Post date:** [March 7, 2019, 11:13am UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/4 "2019-03-07T11:13:20Z")

</div>

Hi @shivanshbindal9, Welcome to OpenMRS and thanks for the interest on this project. Go through the [GSoC 2019 : Warm up practices for students](https://talk.openmrs.org/t/gsoc-2019-warm-up-practices-for-students/21009) and prepare you for GSoC :-).

Cc : @judeniroshan

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 12, 2019, 12:10pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/5 "2019-03-12T12:10:28Z")

</div>

Hey @suthagar23 when I tried using react components I was able to use a few but faced some issues while using others. When I tried using patient header component as mentioned in the readme some unexpected errors came, so I would like to know if there is any channel for asking doubts related to same.   
Also there are some discrepancies in the readme such as some links are broken and some wrong import statements are used so can I start by simply correcting those things? It would be great if you could share contribution guidelines with me.  
 Thanks 🙂

---

<div class="post-metadata">

**Author:** ![suthagar23](https://talk.openmrs.org/user_avatar/talk.openmrs.org/suthagar23/32/6342_2.png) [@suthagar23](https://talk.openmrs.org/u/suthagar23)\
**Post date:** [March 12, 2019, 12:15pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/6 "2019-03-12T12:15:52Z")

</div>

Can you push your work to your Github and give us a link for review or can you provide the error stack in [pastebin.com](http://pastebin.com)? We couldn’t help you without knowing the issues in detail you have 😄.

Yes, You can make corrections and send a pull request here. Better to create a ticket in [here](https://issues.openmrs.org/projects/RAUI/issues), and claim for your work.

Cc : @mogoodrich

---

<div class="post-metadata">

**Author:** ![mogoodrich](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mogoodrich/32/3324_2.png) [@mogoodrich](https://talk.openmrs.org/u/mogoodrich)\
**Post date:** [March 12, 2019, 1:49pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/7 "2019-03-12T13:49:14Z")

</div>

Thanks @shivanshbindal9! The react-components library is definitely very immature at this point, so it’s likely that some things don’t work and that many things are undocumented… hopefully something we can work on this summer!

There’s a JIRA project for tickets related to React Components you can look at, and it’s also a good place to start ticketing new issues:

[https://issues.openmrs.org/projects/RAUI/issues/RAUI-22?filter=allopenissues](https://issues.openmrs.org/projects/RAUI/issues/RAUI-22?filter=allopenissues)

Also, there are two main project that use React-Components that could be helpful to look at… one is a standalone PWA that we are building at PIH:

> **[PIH/openmrs-pwa-apzu-ic3](https://github.com/PIH/openmrs-pwa-apzu-ic3)**
>
> Contribute to PIH/openmrs-pwa-apzu-ic3 development by creating an account on GitHub.

The other is a new OWA for collecting lab information:

> **[openmrs/openmrs-owa-labworkflow](https://github.com/openmrs/openmrs-owa-labworkflow)**
>
> Contribute to openmrs/openmrs-owa-labworkflow development by creating an account on GitHub.

Hope that helps some!

Take care, Mark

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 12, 2019, 1:56pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/8 "2019-03-12T13:56:06Z")

</div>

Thanks @mogoodrich and @suthagar23 . I will definitely look into the projects mentioned 🙂

---

<div class="post-metadata">

**Author:** ![beingtmk](https://talk.openmrs.org/user_avatar/talk.openmrs.org/beingtmk/32/21209_2.png) [@beingtmk](https://talk.openmrs.org/u/beingtmk)\
**Post date:** [March 15, 2019, 1:16pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/9 "2019-03-15T13:16:05Z")

</div>

Hi @mogoodrich & @suthagar23,

I ran the above suggested projects, and that helped me to understand the usage of openmrs-react-components but as it required a server to fully explore the features, i am trying to build & run the openmrs-core repository. but i am getting errors at compile time.

Since i have’nt really used java before, i am unable to point out where the errors is coming from. The detailed error is provided below [https://pastebin.com/GqVk6NPB](https://pastebin.com/GqVk6NPB) .

Any help is very much appreciated.

Regards, Mithilesh

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [March 15, 2019, 1:27pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/10 "2019-03-15T13:27:41Z")

</div>

Compile with Java 8

---

<div class="post-metadata">

**Author:** ![mogoodrich](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mogoodrich/32/3324_2.png) [@mogoodrich](https://talk.openmrs.org/u/mogoodrich)\
**Post date:** [March 15, 2019, 1:28pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/11 "2019-03-15T13:28:19Z")

</div>

@beingtmk it’s java compilation error, but unfortunately I’ve never seen that one before, maybe someone else has?

---

<div class="post-metadata">

**Author:** ![mogoodrich](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mogoodrich/32/3324_2.png) [@mogoodrich](https://talk.openmrs.org/u/mogoodrich)\
**Post date:** [March 15, 2019, 1:34pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/12 "2019-03-15T13:34:42Z")

</div>

Ah, thanks @dkayiwa… I was actually going to flag you on the ticket but you beat me to it… 🙂

---

<div class="post-metadata">

**Author:** ![beingtmk](https://talk.openmrs.org/user_avatar/talk.openmrs.org/beingtmk/32/21209_2.png) [@beingtmk](https://talk.openmrs.org/u/beingtmk)\
**Post date:** [March 15, 2019, 1:37pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/13 "2019-03-15T13:37:18Z")

</div>

Even i thought it must have version problem! I am actually in process of installing java 8. Thankyou for confirming it!

Help is much appreciated!

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 17, 2019, 2:11pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/14 "2019-03-17T14:11:35Z")

</div>

Hi, @suthagar23 @mogoodrich as you pointed I setted up the PIH project and was able to run it. It also helped me understand how openmrs-react-component is really helpful and how to realise changes in real time. I have certain doubts regarding the PIH project

1. Do we need to set up some kind of database for properly running PIH project as it requires login based on username and password ?   
2. Are the issues related to PIH project on jira or some other platform as I can’t find any on github ?

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![beingtmk](https://talk.openmrs.org/user_avatar/talk.openmrs.org/beingtmk/32/21209_2.png) [@beingtmk](https://talk.openmrs.org/u/beingtmk)\
**Post date:** [March 17, 2019, 2:35pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/15 "2019-03-17T14:35:15Z")

</div>

Hi @shivanshbindal9, pls set up the Open-mrs core repository, [https://github.com/openmrs/openmrs-core](https://github.com/openmrs/openmrs-core)

It Provides backend for all the front end applications.

Detailed Instructions are provided here [https://wiki.openmrs.org/plugins/servlet/mobile?contentId=589873#content/view/4489382](https://wiki.openmrs.org/plugins/servlet/mobile?contentId=589873#content/view/4489382)

As suggested by @dkayiwa use java 8 as latest version of java didnt work for me.

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 23, 2019, 12:31pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/16 "2019-03-23T12:31:13Z")

</div>

Hi @mogoodrich @suthagar23 I am still having some problem with login. I have completely setted up the openmrs core repository as well as the pih project. Also, I have made a .env.local file as mentioned in the documentation. The following is the screenshotof log of openmrs-core [https://pastebin.com/zQbXZ7MW](https://pastebin.com/zQbXZ7MW) .   
Here is the screenshot of network log [https://pasteboard.co/I6KsIZX.png](https://pasteboard.co/I6KsIZX.png). Sorry for bothering you time and again.  
Any help is appreciated.   
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![beingtmk](https://talk.openmrs.org/user_avatar/talk.openmrs.org/beingtmk/32/21209_2.png) [@beingtmk](https://talk.openmrs.org/u/beingtmk)\
**Post date:** [March 23, 2019, 3:35pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/17 "2019-03-23T15:35:11Z")

</div>

Hi @shivanshbindal9,

Using the OpenMRS SDK ([Installation Docs](https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Installation)), Set up the _PIH-EMR_, Which is a _distribution_ of _OpenMRS_ , an open-source medical record systems. This provides necessary modules and metadata to run the openmrs-pwa-apzu-ic3 pwa.

Detailed Instructions given in [Github Repository of openmrs-module-mirebalais](https://github.com/PIH/openmrs-module-mirebalais)!

I also suggest reading the [Developer Guide](https://wiki.openmrs.org/display/docs/Developer+Guide) which will help in understanding necessary concepts such as **Distributions** & **Modules**.

Hope this helps 🙂

---

<div class="post-metadata">

**Author:** ![shivanshbindal9](https://talk.openmrs.org/letter_avatar/shivanshbindal9/32/5_5575768a8748004e209b776fc1b2916d.png) [@shivanshbindal9](https://talk.openmrs.org/u/shivanshbindal9)\
**Post date:** [March 23, 2019, 4:57pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/18 "2019-03-23T16:57:16Z")

</div>

Thank you @beingtmk 🙂

---

<div class="post-metadata">

**Author:** ![pevb](https://talk.openmrs.org/letter_avatar/pevb/32/5_5575768a8748004e209b776fc1b2916d.png) [@pevb](https://talk.openmrs.org/u/pevb)\
**Post date:** [April 1, 2019, 10:29pm UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/19 "2019-04-01T22:29:42Z")

</div>

Hello! My name is Paul Vazquez and Im a Computer Engineering student from Mexico. I am very interested in working in this idea during the summer. I have 2 years of experience working with react and some of my previous projects are he following:

# WebAnnotations:

The open source web-based graphical image annotation tool. [https://paulvazbad.github.io/WebAnnotations/](https://paulvazbad.github.io/WebAnnotations/)#Appetizer Reservation web app for restaurants made with React.js + Redux + Firebase

> **[paulvazbad/Appetizer](https://github.com/paulvazbad/Appetizer)**
>
> Reservation web app for restaurants made with React.js + Redux + Firebase - paulvazbad/Appetizer

And currently developing an Real-Time info viewer for an IoT project:

> **[paulvazbad/ternium](https://github.com/paulvazbad/ternium)**
>
> Web Dashboard for real time info sent by the IoT device - paulvazbad/ternium

I will be exploring the openmrs-react-components repository. Thanks!

---

<div class="post-metadata">

**Author:** ![pevb](https://talk.openmrs.org/letter_avatar/pevb/32/5_5575768a8748004e209b776fc1b2916d.png) [@pevb](https://talk.openmrs.org/u/pevb)\
**Post date:** [April 4, 2019, 12:05am UTC](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043/20 "2019-04-04T00:05:36Z")

</div>

Hi, I’m trying to make some contributions to the react repositories but I dont seem to find any updated tickets on Jira about work that needs to be done in those repositories is there any other place I can find more information? Or maybe I can do one of the components/tasks proposed in the ideas list of gsoc ?

[Next page](https://talk.openmrs.org/t/automation-of-create-openmrs-owa-with-react-components/22043.md?page=2)
