Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created the backend, as well as connected the form #15

Merged
merged 20 commits into from
Mar 12, 2016

Conversation

torch2424
Copy link
Member

closes #7
may close the issue #8
may close the issue #13

Firstly, let me apologize for closing multiple issues in one branch, the other two issues need some more testing, and could be confirmed by anyone willing to serve up the site and test things out :)

I created a little node.js backend to ping some services for us (Such as ifttt for google sheets, an undocumented slack api endpoint to auto invite emails, and the github api to automate org invintes), that we can access from our frontend form, using a little AngularJS service. This was tested working well (Would be nice to do some additional testing however).

This also does some various frontend design improvements, and a lot of them were mentioned by @davidnuon in #13 , and this fixes a lot of those. They mostly dealt with responsiveness, but any additional testing, and confirmation would be nice to confirm closing the issue.

Screenshot (Chrome Inspected Nexus 5x):

screenshot-localhost 9000 2016-03-06 02-04-32

P.S this does contain some testing code, such as localhost backend urls and things, that i left in, simply for easier testing by anyone wanting to check this out. Please let me know if this a problem, and I can remove it

torch2424 and others added 18 commits March 5, 2016 01:34
as the title sates,doing this for secure ifttt keys.Also, git ignored node modules in the backend
Simply needs some testing using curl
Made a keys.json to be parsed by the backend before deploying :)
Added support for submitting to slack and google sheets, and seems to be working well!
Simply need some slight hlp with api's, and need to be a bit more awake, tested this
working slightly
Currently have ifttt and slack working, need to response with our post response however
Made seperate routes for every command, and works with a test org
As the title states, the backend now returns nice and understandable
slack responses
As the title states, simply need to finish the github responses
@davidnuon shreked my computer with concentrated coffe spray, cant finish this branch for
now :'( :'( Y U DO DIS??!?!?! I CRIE EVERYTIM
Started to do so, and was testing successful responses with ifttt
Such as github user names for our requests and things
Tested working with ifttt and slack, simply need to work out some more github weirdness
@davidnuon
Copy link
Member

Still reviewing the code, I can see one change that can be done. Please turn the coffee cup into an image.

Other than that, looking good so far!

screen shot 2016-03-07 at 9 25 28 pm


/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'I am a Hamburger' });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nom nom nom

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does that mean? Like I said I am a terrible backend guy, so any advice on what I did wrong would be cool! :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he's just cracking up at the throwaway response to someone accessing /

Personally, I like returning HTTP 418 in this scenario :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OHHHHHHH I forgot I put that in there. Yeah julian and I have a joke, similar to googl'es teapot:

http://www.error418.net/

And we can definitely add a return of 418 haha

@davidnuon
Copy link
Member

Another kink in the animation in Chrome on OSX
coffee_kink

I fixed bugs that the awesome @davidnuon helped me find, Also, made some really
good transparent code and coffee logos, as well as some that are not transparent.
Lastly, also did some animation work with the divs on mobile, which were calling
some functions to fast, so I slowed the timeouts, as well as set a slightly larger
height on load, to keep users from having completely broken pages.
@torch2424
Copy link
Member Author

I made your changes, thank you for the help! @davidnuon

@torch2424
Copy link
Member Author

And it is quite weird OSX chrome was behaving like this, I tested on my chrome in linux, and on android and had no problems...

@davidnuon
Copy link
Member

All good :)

@davidnuon davidnuon closed this Mar 12, 2016
@davidnuon davidnuon reopened this Mar 12, 2016
davidnuon added a commit that referenced this pull request Mar 12, 2016
…ack-api-to-onboard-members

Created the backend, as well as connected the form
@davidnuon davidnuon merged commit a1509d1 into master Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the slack api to onboard members
3 participants