digiah / 2do

the working to do list
1 stars 2 forks source link

Design back-end requirements (mean stack) #204

Closed damg70 closed 7 years ago

damg70 commented 7 years ago

Dr. Rath has the MEAN stack installed. Tyler needs to look it over and see if anything else is necessary to begin development.

tyliec commented 7 years ago

What I usually do is work on a project locally then git clone it to the server when it needs to be tested. Can you or can I make a git repo under DAHI for us to push our work to? @damg70 @rcrath

tyliec commented 7 years ago
rcrath commented 7 years ago

You can use GitHub for repositories. We should make one for the membership project, right? I might have to make the repo. Will do now. I'll also make a git project for us to organize it in.

tyliec commented 7 years ago

@rcrath I can't find the github repo under https://github.com/digiah, is it somewhere else?

tyliec commented 7 years ago

By the way, @rcrath, do you want me asking these questions to you in Slack/Text/Github?

rcrath commented 7 years ago

@Viltaria if it goes off the issue topic, slack is probably better. my bad on this one for thinking out loud and not following up. I was not near a computer I could initiate the project on. Doing now. But are you pretty clear on the workflow? Use github for keeping up to date code, but install via the ftp-then-sudo-cp method I outlined in the email to actually deploy the code on the server. Check in with David or me before deploying anything that affects projects that are already live. setting things up now... :)

rcrath commented 7 years ago

@Viltaria can we close this yet, or you need to do a bit more setup and testing?

tyliec commented 7 years ago

I think its ready to begin deployment, I'll close the issue.

tyliec commented 7 years ago

@rcrath I'm assuming that we will be sitting in on the meeting tomorrow, will it be in the usual room?

rcrath commented 7 years ago

You are welcome if you can make it. It would be good for you to meet Julia and take part in the process. this would be better on slack!

damg70 commented 7 years ago

@Viltaria has basic data pulls working.

One can go to this URL: http://dahi.manoa.hawaii.edu/memberconnect/test/ and add a string to the end of the URL, eg http://dahi.manoa.hawaii.edu/memberconnect/test/Richard or a simple key/value pair eg http://dahi.manoa.hawaii.edu/memberconnect/test/first_name=richard.

The next step is to develop the means for parsing a serialized set of form elements that will be passed from the client to the server.

In the simplest case this will be a key/value pair, but the interface will make it possible to add subsequent K/V pairs separated by logical operators: AND, OR and NOT.

@Viltaria will handle unserializing these form elements and turning them into a JSON object structured so that it can be passed to db.collection.find() according to mongo syntax.

@Vilataria will handle creating a hits { } object that is attached to each member profile that is sent back to the client so that the browser can render emphases. For example, if hits in the field in profile 1 the matched text could be bold; if there is a photograph whose name matches the browser might put an emphasized border around that image.