Demo: https://cyber-cty-comics.herokuapp.com
Full Stack web application that displays and navigates through xkcd web comic strips.
To showcase my full-stack web development skills, via the MERN stack.
- 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.
- 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.
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).
# 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