https://github.com/leogurja/pizza-shop
A simple delivery management app built during a Rocketseat course
https://github.com/leogurja/pizza-shop
javascript playwright react shadcn-ui tailwindcss tanstack-react-query typescript vite vitest
Last synced: 3 months ago
JSON representation
A simple delivery management app built during a Rocketseat course
- Host: GitHub
- URL: https://github.com/leogurja/pizza-shop
- Owner: leogurja
- Created: 2024-08-15T20:50:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T15:43:16.000Z (over 1 year ago)
- Last Synced: 2025-03-16T09:31:04.284Z (over 1 year ago)
- Topics: javascript, playwright, react, shadcn-ui, tailwindcss, tanstack-react-query, typescript, vite, vitest
- Language: TypeScript
- Homepage:
- Size: 515 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pizza Shop
This app was built as an exercise for a course @ [Rocketseat](http://rocketseat.com.br)
## Running Locally
This project consumes a local api, which depends on [Bun](https://bun.sh/docs/installation), [Docker](https://docs.docker.com/engine/install/) and [Docker Compose](https://docs.docker.com/compose/install/)
After installing those dependencies, run:
```sh
npm run api:setup
```
Afterwards, you can run the server using
```sh
npm i
npm run dev & npm run dev:api
```
## Testing
This app uses Vitest and Playwright to run tests.
To run tests, first you need to run
```sh
npm run test:setup
```
This will install the binaries for Playwright.
Finally, use the following commands to run the tests:
```sh
npm test # runs Vitest
npm test:e2e # runs Playwright
```