swsnu / wecfall2014

0 stars 0 forks source link

will there be tricky test? / code doesn't work in local after deploy #18

Open perprit opened 9 years ago

perprit commented 9 years ago

(1) i wonder about how checker program will be harsh. will there be tricky test(for example, WRONG when any error shows up when GET requests at /signup)?

(2) i followed tutorial for deploying my code, and it works. but the code does not work in local anymore because some setting has been changed. for example, i used sqlite3 in local but used postgreSQL for deploying, which causes the snapshot of my repository only works in herokuapp. is it sure that this is not gonna be a problem in grading?

bgchun commented 9 years ago

@taegeonum @johnyangk Since you will grade this programming assignment, can you answer @perprit's question?

taegeonum commented 9 years ago

(1) The checker program won't do "tricy" tests. For backend, you are in good shape if you have implemented the APIs in "Design: Web Service Protocol" correctly. We'll just send some requests to the API (POST /signup, /login, /clearData) and check whether your response is correct.

(2) Is your code not working even though you installed the postgreSQL library on your local machine? Actually, you can have different settings for production and development so you don't have to change your local database even if you use different database on heroku. Anyway, it is ok as long as your app works on heroku.

perprit commented 9 years ago

Thanks for reply!