How we build a clone of the gymshark.com website

Deeptange
3 min readFeb 27, 2022

--

This is what our home page looks like

Team Sharks

Hello reader, we are the students of Masai School. In this blog, we will share our experience, related to our construct week project. In this project, we had added backend software technology to our previous project which is British website named Gymshark.com.

Team Sharks Members-

  • Aniket Pilankar
  • Dipak Tange
  • Ritesh Yadav
  • Abhishek Choudhary
  • Avinash Kumar
  • Sakshi Rai

How did we start?

After working with the frontend in Unit-3, Our new challenge was to introduce backend technology to our website of the unit-4 Project. From the first day to the last day of the group all the members had given their best. The first thing we did was to decide to communicate with each other through the WhatsApp app , Slack and Zoom. The flow of the website was determined, then the website page was divided among each member so as to complete the website as soon as possible before the deadline.

Background.

In unit-3, the most important topic of advanced Javascript was taught and on the DSA side, we learned queues, recursion, backtracking, merge & quick sort algorithms. So from what we have learned, we made a dynamic website with the help of DOM, import-export, created our own database, and made an API call to fetch the stored data and appended it to the pages. In unit-4 we learned about backend technology in which we had learned about authentication, authorization , fetching routes with methods , connecting the database to mongoDb , express js , node js and mongoose and its application. We have also learned about various NPM packages.

We use the following things to build our website:

  1. HTML
  2. CSS
  3. Advanced javascript
  4. Express js
  5. Node js
  6. MongoDb
  7. NPM packages

Challenges

  1. Deployment of our website with AWS and Heroku
  2. Read others code and make changes to it
  3. Exact pixel-perfect cloning of the website
  4. Abnormal behavior of some parts in our website while linking pages with each other.
  5. Make the database
  6. Making connection of frontend to backend

Day wise flow

  1. Day-1- We started working on the creating the databases
  2. Day-2- Database created according to the category and sections
  3. Day-3- Made the routes and methods to fetch the data from frontend and also worked on authentication of new user with the help jswebtoken.
  4. Day-4- Started working database of the Women’s page section, Men’s page section, Searching section, Payment section, Address page. The collected data stored in the Mongo atlas.
  5. Day- 5-All the above website pages were completed and linked to each other. The code was committed to Github.
  6. Day-6- Finalize our Project code, Readme file, Video Presentation, and this blog post.

Roles and responsibilities of team members:

  1. Ritesh — Index page,Payment page,Inside page(Single product page) , header(Navbar) and footer components, Worked on user data storing.
  2. Aniket — Login Page, Sign Up page, Category page, admin page,authentication using Jsonwebtoken and bcrypt,Readme file.
  3. Dipak — Cart page, Javascript features, helped with the Database creation,Created womens and mens routes and methods,Created blog
  4. Sakshi — Created Women Page Section, created women products database,Ppt Presentation
  5. Abhishek- Created Search Page and stored the data of products in database and provided additional functionality to it.

6. Avinash- Created Men’s page Section , created the database for mens product.

Resources

  1. https://developer.mozilla.org/en-US/
  2. https://www.npmjs.com/package
  3. MongoDb atlas and compass
  4. Postman web app
  5. https://www.heroku.com/
  6. https://fonts.google.com/
  7. https://fontawesome.com/
  8. YouTube

Git Hub Details-

Thank You for reading

--

--