Skip to content

trinayau/kewlbeans-1

Repository files navigation

Project Latte.io

Lap 1 Project: Community Journalling Website

Contributors:

Project Description

Latte.io was borne out of the team's mutual love for coffee and passion for helping small businesses in the UK thrive. Users can use the website to anonymously review coffee shops and check out reviews left by other users to find new coffee shops to visit.

Installation and Usage

Installation

Running the server locally (not using Heroku)

  • Clone the repo
  • cd into the kewlbeans folder in your terminal
  • Install dependencies listed below using terminal

Dependencies:

  • Express npm i express
  • Cors npm i cors
  • Body Parser npm i body-parser

Usage

  • Use the Netlify website which interacts with the server hosted on Heroku

Technologies

Front End

  • BootStrap v4.6
  • GIPHY API

Back End

  • Node.js
  • Express
  • NPM Libraries: body parser, cors, file system

Process

Initialising

On the first day of receiving the project details, we agreed on a team name (Team Latte) and a concept for our project, which was We designated project roles and discussed everyone's strength and weaknesses. For example, who was more inclined towards front end or back end work, and who wanted to do more project management and deployment tasks. We pulled together basic information for a project vision board, such as ideal customer, name of site and the purpose of the site. Add-ons were also discussed, including stretch goals. Discussions included:

  • Preparing README prototype and presentation
  • Favicon selection
  • Low-fidelity wireframe for rapid prototyping

wireframe for latte.io

Adding Features

We initially implemented separation of concerns with different Client and Server folders. This was later amended as we needed the server files to be exposed in the root for Heroku deployment. We made different branches for development on GitHub for each of us and got to work on adding the required features of:

  • Posting from web page and storing data in a JSON file
  • Call on GIPHY API when posting
  • Dynamically creating posts from JSON file in HTML using JS
  • Creating an emoji reaction section in the displayed posts
  • The emojis being able to update the number of times clicked
  • Adding a comment section to displayed posts
  • Users able to make comments
  • Comments being displayed after comment is posted

Deploying

  • We deployed via Heroku for server and Netlify for client

License

MIT License

Wins and Challenges

Wins

  • Getting the features to work
  • Testing the front end

Challenges

  • Writing to JSON file using POST method was very challenging
  • Adding GIF selector

Future Features

  • Adding image upload
  • Filter by old and new posts