Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.58 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.58 KB

Fotographiq

A photography-centred blog, allowing anonymous posting and commenting. Built with JavaScript.

Screenshot of Fotographiq

Installation & usage

On the web

Installation

  • Clone or download the repo.
  • In your command line, navigate to the server folder and run npm install.

Usage

  • In your command line, run npm run start to run the server. Make sure you see the following message: Express now departing from http://localhost:3000.

  • Open index.html in your browser.

  • Press New Post and and type your post in the modal that appears, then press Submit Post.

  • Click on the emojis below each post to react.

  • Leave comments in the text box below each post

Technologies

Process

  • Started by wireframing the page in Figma and creating it using HTML and CSS (with Bulma)
  • Created a basic server using Express
  • Wrote pseudo code to break down the logic of collecting user input, assigning functionality to buttons and making user input appear on the page.

Wins & Challenges

Wins

  • Creating delete functionality, allowing users to delete their posts.
  • Implementing an image upload feature using Base64 encoding.

Challenges

  • Keeping the emoji counter numbers consistent on refresh.

License