Skip to content

abdulsamadola/sortable-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sortable Frontend Exercise

GitHub issues GitHub forks GitHub stars

Table of Contents

About The Project

Sortable Frontend Exercise This exercise will evaluate your skills in front-end web development using different technologies.

Build with

Getting Started

This is an list of needed instructions to set up your project locally, to get a local copy up and running follow these instructions.

Installation

  1. Clone the repository
$ git clone https://github.com/abdulsamadola/sortable-exercise.git
  1. Navigate to repository directory
$ cd sortable-exercise
  1. Install dependencies
$ npm install 
  1. cd client
$ npm install 
### Running

1. **_Running on development mode_**

cd ..
$ npm run start
  1. Build for production
$ npm run build

Screenshots

image

File Structure

|-- Sortable Frontend Exercise
    |-- .DS_Store
    |-- .gitignore
    |-- README.md
    |-- package-lock.json
    |-- package.json
    |-- server.js
    |-- client
    |   |-- .DS_Store
    |   |-- .gitignore
    |   |-- README.md
    |   |-- package.json
    |   |-- tsconfig.json
    |   |-- public
    |   |   |-- favicon.ico
    |   |   |-- index.html
    |   |   |-- logo192.png
    |   |   |-- logo512.png
    |   |   |-- manifest.json
    |   |   |-- robots.txt
    |   |-- src
    |       |-- index.tsx
    |       |-- react-app-env.d.ts
    |       |-- setupTests.ts
    |       |-- components
    |       |   |-- App
    |       |       |-- App.tsx
    |       |       |-- OrderTable.tsx
    |       |       |-- __tests__
    |       |           |-- OrderTable.test.tsx
    |       |-- services
    |       |   |-- index.ts
    |       |   |-- orderService.ts
    |       |-- store
    |       |   |-- actions.ts
    |       |   |-- effects.ts
    |       |   |-- reducer.ts
    |       |   |-- types.ts
    |       |-- styles
    |       |   |-- App.scss
    |       |-- utils
    |           |-- constants.ts
    |           |-- dateFormat.ts
    |           |-- sorting.ts
    |-- screenshots
        |-- 1.png

Unit testing

Each component in this project has its own unit test file inside __tests__ directory eg. OrderTable.test.tsx

Running Unit tests

Run the following command.

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published