diff --git a/README.md b/README.md index ec04817..69ecac3 100644 --- a/README.md +++ b/README.md @@ -1 +1,85 @@ -# week4-harl \ No newline at end of file +# week4-harl + +## Description + +Harl is a microblogging site for vikings to connect with one another. Not to be confused with Twitter. + +## Install the dependencies + +After downloading the repo run `npm install` in your termninal and that would install all the necessary dependencies for you. + + +___ + +## How to run tests +To run the rests, type `node run test` in your terminal. + +___ + +## How to run development server +To run dev server on your local machine you can type `npm run start:dev` that wil start nodemon server(not to be confused with pokemon or demon or many other things). + +____ + + +## Prototyping +In terms of prototyping the project, we focused primarily on setting up the server and then went for a simplistic style, similar to the one we used in our To Do list which can be viewed [here](https://https://fac19.github.io/week3-harl/) +___ +## User stories +### As an opinionated Viking you can: +* post your thoughts so fellow vikings can see and connect to you(spiritually) + +![image alt](https://media.giphy.com/media/f4DfBGXTz0oD5K9DME/giphy.gif) + +--- + +### As a bored Viking you can: +* read what your fellow vikings have posted +![image alt](https://media.giphy.com/media/6IuokhEIj14bX13H3C/giphy.gif) + +--- + +### Are you an impulsive Viking? Are you worried you may have pissed someone off? Do you wonder what can you do? +* Have no fear! We're currently working on a feature to deal with your impulsiveness. (also known as a delete button) +![image alt](https://media0.giphy.com/media/hs33ZzTyQc5JC/giphy.gif) + +--- + +## Personal Learning Objectives + +### Ako +- I have none, I am the learning objective +![image alt](https://media.giphy.com/media/l4FGrYKtP0pBGpBAY/giphy.gif) + +### Hannah +- Learn how the hell to use Node and tape + +### Lizzy +- Develop an understanding of setting up a server on Node +- + +### Roger + + +___ + +## What we've done + +### First day: +- Wrote everything we needed to do collaboratively on a HACKMD and then transferred into the project board each as small issues +- Gave estimation labels to each issue, adding actual labels as each issue is completed +- Keeping stretch goals out of the project board until we have a picture of what MVP we can achieve in the time given +- As we go along we will be assigning ourselves to the issues we want to focus on, splitting the pairs this way +- Mobbed deploying on Heroku as a whole team +- Wrote HTML file structure in pairs +- Mobbed creating our servers as a whole team + +### Second day: +- Mobbed finishing the server +- Split into pairs for first half of day + +### GITHUB COMMIT CREDITS +Co-authored-by: @akomiqaia +Co-authored-by: @hannahgooding +Co-authored-by: @Lizzy-j +o-authored-by: @Roger-Heathcote \ No newline at end of file diff --git a/handlers/addpost.js b/handlers/addpost.js index 8ed7626..127cd52 100644 --- a/handlers/addpost.js +++ b/handlers/addpost.js @@ -28,7 +28,3 @@ function addPostHandler(request, response) { } module.exports = addPostHandler; - -// author, title and body - -// url username=john&post_title=hello&blog_message=world diff --git a/test.js b/test.js index 23297d5..acc7fa2 100644 --- a/test.js +++ b/test.js @@ -13,14 +13,3 @@ test("Test /getposts returns status 200.", t=> { t.end(); }); }); - -// test("Test /newpost return status 200", t=> { -// supertest(router) -// .post("/newpost") -// .expect(200) -// .end((error, response) => { -// t.error(error) -// t.equal(response.text, JSON.stringify({})) -// t.end() -// }) -// }) \ No newline at end of file