Skip to content

A test SPA app written with React, Redux Saga and Typescript for managing promo codes

Notifications You must be signed in to change notification settings

vlgavrilov/test_task_react_typescript

Repository files navigation

React/Typescript test app

Screens:

  1. Page with list of Services and promocodes

Should be done in React, Redux, Sagas, Typescript. Added Webpack, Docker

Scripts to get started

To start without Docker:

  1. To start development server, please run:
cd test_task_react_typescript/
npm install
npm run dev
  1. To compiled the app, please run:
cd test_task_react_typescript/
npm install
npm start

Runs the app in the development mode. Open http:https://localhost:9001 to view it in the browser.

Or you can start with Docker:

Build docker image

docker-compose build

Run docker container

  1. For this you will need to download Docker. Then starting is made with this command:
docker-compose up
  1. Open http:https://localhost:3002 to view it in the browser.

Running unit tests

Run npm test to execute the unit tests via Jest.

Localization (i18n added to the project)

To run eng language http:https://localhost:9001/?lng=en

To run ru language http:https://localhost:9001/?lng=ru

Demo

About

A test SPA app written with React, Redux Saga and Typescript for managing promo codes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages