Skip to content

spatel-code/cyber-city-comics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


logo

Demo: https://cyber-cty-comics.herokuapp.com

Full Stack web application that displays and navigates through xkcd web comic strips.

Motivation

To showcase my full-stack web development skills, via the MERN stack.

Features

  • Navigation Buttons: buttons to navigate to the previous and next comic strip.
  • Comic Display: one comic strip displayed per page.
  • Comic Info: information like date created, view count, and number are all displayed on top of the comic.
  • Pathname Navigation: navigate to a specific comic strip by including a comic # in the URL (https://cyber-cty-comics.herokuapp.com/614) or by using the search bar in the corner.
  • Parsed Transcript: transcript from API is parsed into a more readable format & displayed under the comic.

Extra Features

  • Responsive Design: created using vanilla CSS to accommodate devices with various screen sizes.
  • View Count: Each comic page has a view count that displays the amount of times that specific comic strip has viewed on my site. Only counts unique visitors, so refreshing the page will not increase the view count.
  • Random Navigation: button that navigates to a random comic strip.
  • Sticky Navigation Buttons: when the content of the page is very long, the navigation buttons will always remain in the user's view. Provides easy access to move onto the next comic strip, without requiring the user to scroll all the way to the bottom.

Built With

This project was built using the MERN stack, which includes:

React was used for Front-End Development (client-side).
Express.js,MongoDB, and Nodejs were used to implement the RESTful API (server-side).

Installation

# get the project
$ git clone https://github.com/shivamp08/cyber-city-comics

# install dependencies
$ npm install

# run start (using react-scripts - default port: 5000)
$ npm start

Screenshots

Comic 2469 Comic 614 Comic 614 Transcript Comic 2464 Transcript