Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabriele-mastrapasqua/mars-rover-kata
Mars rover kata in typescript and nextjs
https://github.com/gabriele-mastrapasqua/mars-rover-kata
jest kata nextjs react reactjs tdd tdd-kata typescript
Last synced: 9 days ago
JSON representation
Mars rover kata in typescript and nextjs
- Host: GitHub
- URL: https://github.com/gabriele-mastrapasqua/mars-rover-kata
- Owner: gabriele-mastrapasqua
- License: mit
- Created: 2022-08-24T18:46:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T07:23:48.000Z (over 2 years ago)
- Last Synced: 2023-03-10T15:55:07.579Z (almost 2 years ago)
- Topics: jest, kata, nextjs, react, reactjs, tdd, tdd-kata, typescript
- Language: TypeScript
- Homepage: https://mars-rover-kata.vercel.app/
- Size: 3.25 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mars rover kata
This is the mars rover kata inspired by [https://kata-log.rocks/mars-rover-kata](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/](https://mars-rover-kata.vercel.app/)
## Run in development
- Use a correct version of nodejs:
```bash
nvm use
```- Install dependencies:
```bash
npm i
# or
yarn
```- run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Run with docker
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](http://localhost:3000) with your browser to see the result.
## Run tests
Run unit tests:
```
yarn test
```Run unit tests in watch mode:
```
yarn test:watch
```Get the unit tests coverage:
```
yarn test:coverage
```