This is the mars rover kata inspired by https://kata-log.rocks/mars-rover-kata using typescript, nextjs 12, react and jest for unit testing!
You can try it live here: https://mars-rover-kata.vercel.app/
- Use a correct version of nodejs:
nvm use
- Install dependencies:
npm i
# or
yarn
- run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can run the app using docker running those commands:
docker build -t nextjs-docker .
docker run -p 3000:3000 nextjs-docker
then open http://localhost:3000 with your browser to see the result.
Run unit tests:
yarn test
Run unit tests in watch mode:
yarn test:watch
Get the unit tests coverage:
yarn test:coverage