This project was created as a test task in recruiting processes at Fakturuj.to. The goal of this project is - to create a simple web application for creating products.
This application should be able to:
- create, read, update, delete products (CRUD)
- validate form inputs
- form should use Formik, Redux, TypeScript, React-Router, Styled-components
Before you begin, ensure you have met the following requirements:
- Node.js installed on your machine
- npm package manager
- running backend application fakturuj_to_backend
Before running the project, you need to install the necessary dependencies.
npm install
To run the project in development mode with live reloading, you can use the dev
script:
npm run dev
To transpile the TypeScript code to JavaScript, you can use the build
script:
npm run build
After building the project, you can run preview
script for previewing the pre-production build:
npm run preview
Attention: You can preview the pre-production build locally of you have pre-production environment in your local machine. You need to create .env.production.local
file from .env.development
To run tests, you can use the test
script:
npm run test