wishlist-app/README.md
2022-02-20 15:08:45 +01:00

80 lines
1.6 KiB
Markdown

# wishlist
The wishlist app is a simple webapp for publishing wishlists. It allows to share wishlists for different people or occasions with friends and family. If something from the wishlist was bought, it can be removed from the list to prevent duplicate purchases.
## Demo
[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square&logo=codesandbox)](https://codesandbox.io/s/wishlist-app-ycygh3)
## Screenshots
![Overview Image](.github/assets/overview.jpg)
![Detail Image](.github/assets/details.jpg)
## Features
- Support of multiple wishlists
- Items can be removed from the wishlist by anonymous users
- Grab title, description and image-url from url via open graph meta tags
- i18n support
## Install
### Docker Setup
The app can be easily installed via Docker compose. During installation, only a password (API key) and a path for the SQLite database must be specified.
```yaml
version: '3.7'
services:
wishlist:
image: thisisbenny/wishlist-app:latest
environment:
- API_KEY=TOP_SECRET
ports:
- '5000:5000'
volumes:
- ./data:/app/data
```
## Development Guide
```sh
npm install
npx prisma generate
npx prisma migrate deploy
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests
```sh
npm run test:unit
```
### Lint
```sh
npm run lint
```
### Typecheck
```sh
npm run typecheck
```
## Other stuff
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/hierlDev)