Giter Club home page Giter Club logo

cottonbox's Introduction

Cotton Box

This project provides a site where potential and returning customers are able to browse and potentially buy the designer Korean clothing that are available. This is done by providing a modern website that is not only well designed but is also easy to navigate.

UX

User Stories

  1. As a new customer, when I load the landing page, I would like to see that it contains a link for each of the different categories of clothing available, so that I am able to quickly view all items of the desired category.
  • Acceptance Criteria

  • Given that I am a new customer, when I go to the landing page, the website will show me the different categories of clothing available. When I click on each of the 'cards' it will take me to the corresponding page.

  • The wireframes for this can be found here.

  1. As a new customer, I would like to go to the 'About Us' page, so that I can find out more information about the store/company such as the history and where the store/company is located.
  • Acceptance Criteria

  • Given that I am a new customer, when I go to the ‘About Us’ page, the website should provide me all of the information about the store/company and there should be a map with the location of the store/company.

  • The wireframes for this can be found here.

  1. As a Mandarin speaking customer, I would like to change the language of the content, so that I am able to understand the site easier and to navigate the site more easily.
  • Acceptance Criteria

  • Given that I am a mandarin speaking customer, when I go to the website and I select the flag that represents my language from the dropdown menu, the language of the website will change to the selected language.

  • The wireframes for this can be found here.

  1. As a new/existing customer, I would like to go to the ‘Contact Us’ page and fill out the form, so that I am able to send a message to the company about general questions or problems that I am having.
  • Acceptance Criteria

  • Given that I am an existing customer, when I go to the ‘Contact Us’ page, the website will present a form where I am able to write what I would like to discuss. When I click the send button, a message appears saying “Thank you for contacting us! We will reply to you soon”.

  • The wireframes for this can be found here.

  1. As a new/existing customer, I would like to search to search for an item, so that I am able to quickly find all of the relevant items of clothing I am looking for.
  • Acceptance Crieria

  • Given that I am a existing customer, when I type in the item that I would like to search for and press enter, the page should automatically present only the products that I have searched for.

  • The wireframes for this can be found here.

Wireframes

  • All device wireframes can be found here.

Features

During the development of the project, I have created seperate branches for each of the features that I have implemented. This was done to preserve the stability of the master branch.

Existing Features

  1. Header

    Allows users to quickly and easy navigate to different pages and to search for products. On tablet and mobile, the user will have to press the menu button to display the navigation and search bar.

    Also allows users to switch between different languages from the language dropdown.

  2. Callout

    Provides the user with additional information such as sales or annoucements. This can be dismissed by the user if they wish to not see it by clicking on the X in the top right corner.

  3. New-in Section

    Notifies the user of recently added items of clothing and provides them a link to the page where they can view the item.

  4. Categories Section

    Allows the user to navigate to the corresponding categeory page by clicking on the category card.

  5. Footer

    Allows the user to quickly and easily navigate to different pages and provides additional links such as the sitemap and social media that are not available in the header.

  6. Product Content

    This feature is implemented on all product pages and provides the user a place to see all items of the corresponding category.

  7. About Page

    This allows the users to view more information about the company such as when it was founded, what the company does and where to find them.

  8. Map

    On the 'About Us' page, the sites provides a map which locates the head office of the company. This allows users to view where the head office is located.

  9. Contact Form

    On the 'Contact Us' page, the site provides a form in which the user can send an email to the company about any enquiry by filling out the fields and clicking the send button.

Features to Implement

  • When working links for social media are available, I will be including them in the social media section of the footer.

Technologies Used

  • HTML

    • The project uses HTML for the structure of the website.
  • CSS

    • The project uses CSS to style the website.
  • BootStrap

    • The project uses Bootstrap for responsiveness and styling of the website.
  • JavaScript

    • The project uses JavaScript for the script files for site functionality such as the search feature.
  • JSON

    • The project uses JSON for storing the list of products for the search feature.
  • JQuery

    • The project uses JQuery to simplify DOM manipulation.
  • FontAwesome

    • The project uses FontAwesome for all of the icons used in the website.
  • Google Maps API

    • The project uses the Google Maps API to initialise and render a map for the user on the 'About Us' page of the website.
  • EmailJS API

    • The project uses the EmailJS API to send a email to the company on behalf of the user on the 'Contact Us' page.
  • IP Stack API

    • The project uses the IP Stack API to automatically determine where the user is from based on their IP Address and redirect them to the relevant language version of the website.

Testing

The documentation of all the testing can be found here.

Deployment

GitHub Pages

To deploy the project on GitHub Pages I had to follow these steps:

  1. In the GitHub Desktop program, I created a new branch called 'gh-pages' where the source of my GitHub Pages site will be located.
  2. I then went to GitHub, opened the CottonBox repository and opened the settings.
  3. I scrolled down to the page to the GitHub Pages section. There I clicked on the button to choose the source for the GitHub Pages site.
  4. I selected the 'gh-pages' branch. The window then reloaded.
  5. I scrolled back down to the section and saw that there was a link for the CottonBox repository which was https://roymagnussen.github.io/CottonBox

Locally

To run the project locally on your windows computer follow these steps:

  1. In the GitHub page for this repository press the button that says 'Clone or download'. A dropdown should appear.
  2. Press the button that says 'Download ZIP'.
  3. Once the download is complete, open the ZIP file. Inside the folder there will be another folder called 'CottonBox-master'.
  4. Open the folder, and at the top of the file explorer there will be a tab called 'Compressed Folder Tools'.
  5. Press on that tab and there will be an option to 'Extract all'.
  6. Press this option and a dialog will appear asking you where would you like to extract the contents to.
  7. Select your destination of choice.
  8. There is also an option to open the folder once it has been extracted. I personally leave that enabled, but it's personal preference.
  9. Press the button called 'Extract'. Once done, the uncompressed folder will open.
  10. Open the folder and double click on the file called 'index.html'.
  11. It will then open in your browser of choice.

Credits

Media

  • The photos used in this project were obtained from Ema Ding the owner of Cotton Box with express permission to use them for this project.

Acknowledgements

  • I received inspiration for this project from Primark and Quiz.

cottonbox's People

Contributors

roymagnussen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.