Please follow the mention steps in order to set up the project on your local machine:
-
Clone the code on to your machine:
$ git clone https://github.com/ai-zubair/user-dashboard.git
-
Navigate to the project directory.
-
Remove any global packages that are already installed, including
webpack
typescript
etc. to avoid dependency resolution issues. -
Install project dependencies(preferrably in
sudo
mode):$ sudo npm i
-
Start the development server for the project:
$ npm run build:dev
The dev server is listening atlocalhost:8080
. Make sure the port isn't already in use. -
Login screen is authenticated with:
email
eve.holt@reqres.in
password
cityslicka
as documented with thereqres
API.
- Client-end Data structures have been implemented in accordance with the latest
reqres
API schema. - Application Routes are asynchronously loaded via
AsyncRoute
HOC that uses webpack's code splitting feature to emulate React's Suspense mechanism.