Skip to content

davidlhw/saleswhale-teams-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saleswhale Teams Clone

In this exercise, craft and implement a page from one of the Saleswhale apps. Link to a mockup on figma. You will need to sign up for a figma account to make full use of the available functionality.

The task is to implement a react app that looks as close as possible to the mockup. In addition to the layout, the following functionality is also expected:

  1. When the user clicks the All tab, they should see All Teams
  2. When the user clicks the Favorites tab, they should only see their Favorited Teams
  3. When the user clicks on the Archived tab, they should only see Archived teams.

Interface with a mock API response is expected and can be found at src\mock-data.json. Loading the data directly from the file is not required.

Figma

Getting Started

Prerequisites

  • node.js v14.x
  • npm v6.14.x

Installing build

# Clone Repository
git clone https://github.com/DavidLHW/saleswhale-teams-clone.git
# Change directory
cd saleswhale-teams-clone
# Install dependencies with clean install
npm ci
# Make build
npm run build
# Serve build with a static server
npx serve -s build

Usage

Locale

Located in /src/locale/index.ts

The locale file specifies the string used throughout the web app. Its purpose is to allow easy reconfiguration of the string texts in the app.

Config

Located in /src/config/teams.ts

category

Specifies the total number of team categories and their string representation (order-sensitive).

activity

Specifies the string rendering behavior in respect to the type of actions in the activity component.

About

A simple clone of the Saleswhale Teams app with minimal functionality

Topics

Resources

Stars

Watchers

Forks