Skip to content

A couple improvements#1

Open
jmhooper wants to merge 4 commits intosamfadrigalan:masterfrom
jmhooper:master
Open

A couple improvements#1
jmhooper wants to merge 4 commits intosamfadrigalan:masterfrom
jmhooper:master

Conversation

@jmhooper
Copy link

I stumbled across this project and I added a few things to this project to make it look a little bit better. You can merge them if you want.

  • Add a .gitignore
  • Update package.json so the project runs after npm install && npm start
  • Removed a hardcoded filepath
  • Restructured a GET request that should have been a POST request

Jonathan Hooper added 4 commits September 10, 2015 20:22
This commit adds a standard gitignore for a node project and sets up removes files that shouldn't be tracked.
I added some missing packages to the package.json.

I also updated the startup script so that it relies on the local nodemon
module instead of the global one.
I removed a hardcoded file path from login.js to prevent a "read file error"

I also logged the stack for the "read file error" to make the logs more helpful.
Moving your username and your password in your query params is really bad.
I moved the params into the request body of a POST request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant