Skip to content

tobnys/webdev-toolkit-final-capstone

Repository files navigation

Webdev Toolkit

Build Status

Link to live application: https://webdev-toolkit.netlify.com/

Goal & Use Case

The goal of the application was (outside of learning) to simply bring a collection of frequently used tools for a web developer, such as lorem ipsum generation, cheat sheets and popular/common fonts for the web. I wanted to combine these "functions" into one single application that would be easily accessible on the web and easily used.

Currently, the main functionalities of the site is for example the lorem ipsum generator, which uses a 3rd party API to generate a string or a paragraph given a set amount of settings. Initially I tasked myself to create my own custom generator that would have a database filled with strings that would in turn generate a proper sentence (that would actually make sense), but being that I had a set deadline for this project I decided to descope it down further and use a common API for it instead in the form of an NPM package.

Screenshots

image1

image2

image3

User Stories & Initial UX

Landing Page

  • User is able to navigate through the application using the navigation bar.
  • The user is also exposed to the landing page information and can also view a footer which has several links in it that the user can click.

image1

Login/Signup Page

  • User enters valid information in all forms --> Successful login/signup and redirection back to previous page
  • User enters invalid information in some or all forms --> Unsuccessful login/signup, application checks which field(s) are incorrect and sends information to the user regarding this.

image1

Generation Page

  • User enters information into form fields which specifies the settings for the output --> Output is shown to the user on submission.
  • User randomly generates something on the page using a button --> Output is shown to the user on submission.

image1

Font Page

  • User gets a list of sort options on the page that renders new fonts to the page.
  • User can click the font "cards" and be redirected to the selected font at google web fonts.

image1

Cheat Sheet Page

  • User selects a category from a list --> Gets redirected to the selected category.
  • User can select to view a link list or cheat sheets --> Gets redirected to the selected list/sheet.

image1

API Documentation

GET endpoint - ../api/functional/fonts/:sort

Retrieves fonts from the google web fonts API based on sort parameter.

GET endpoint - ../api/functional/text

Generates and returns a text with a set amount of paragraphs based on a query option sent to the server. This endpoint uses the package called "loremIpsum" to generate the paragraphs.

GET endpoint - ../api/functional/statistics

Retrieves statistics from a database which contains information about the application in general, for example, total amount of API calls. This is used in the application to show fun facts about the application.

Technical stack

Front-end

  • HTML5
  • CSS3
  • JavaScript
  • jQuery
  • Web Font Loader
  • React & Redux

Back-end

  • NodeJS
  • Mongoose / MongoDB
  • Heroku (hosting)
  • Axios

Testing

  • Mocha & Chai
  • TravisCI

Responsiveness

  • The site is fully responsive on most mobile & laptop devices.
  • Tested on Chrome, Firefox & Safari.

Security

  • Passport
  • Bcrypt

Development Roadmap

Version 1.1

  • Add "lorem pixel" as a feature.
  • "Lorem Pixel" is an existing idea which I would like to implement to this application, the feature allows a user to specify width, height and other properties in order to render a placeholder image for their website free of any copyright.
  • Switch from 3rd party API usage to a custom created feature in regards to the lorem ipsum generation in order to make it more customizable.

Version 1.2

  • Let users be able to register with an e-mail address in order to create a newsletter with fun facts and/or developer news.
  • Let users be able to change their password/email.

About

Server side repository for webdev toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published