StefanSchade / TaleForge

Text Adventure Logic Engine - A plattform to create immersive games without coding
0 stars 0 forks source link

Start Frontend #43

Closed StefanSchade closed 2 months ago

StefanSchade commented 2 months ago

Commit 14f8eecb9974dcad6d3e983153b5c7860782f67c

Setting up the proejct with Vite and ReactJS

npm install -g create-vite
npm init vite@latest app-frontend -- --template react-ts
cd app-frontend
npm install
StefanSchade commented 2 months ago

commit f7c62b5bb212db02636b560a1cb05a142e996ce0

install mui

npm install @mui/material @emotion/react @emotion/styled

install redux

npm install redux react-redux @reduxjs/toolkit

commit faf3efcd8562143efacb6b5fe690753efbc611e4

install jest

npm install jest @types/jest ts-jest @testing-library/react @testing-library/jest-dom identity-obj-proxy --save-dev

install ts-node

npm install ts-node typescript --save-dev

to get the test running, we need the jsdom environment

npm install jest-environment-jsdom --save-dev

Fix problems in jest setup resulting form breaking changes in rel. 6.0.0 (Aug 23)