https://github.com/viniciusferreira7/pizzashop-api
pizzashop-api
https://github.com/viniciusferreira7/pizzashop-api
bun drizzle-orm elysiajs typescript
Last synced: 11 months ago
JSON representation
pizzashop-api
- Host: GitHub
- URL: https://github.com/viniciusferreira7/pizzashop-api
- Owner: viniciusferreira7
- Created: 2024-05-25T12:35:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T12:10:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T02:37:47.327Z (about 1 year ago)
- Topics: bun, drizzle-orm, elysiajs, typescript
- Language: TypeScript
- Homepage:
- Size: 573 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍕 pizza.shop API
Food delivery app (aka. iFood/Uber Eats) back-end built with TypeScript, Drizzle a ElysiaJS.
> 🔥 This project aims to keep runtime agnostic, this means it should work on Bun, Node, Cloudflare Workers or any Web Standard API compatible runtime.
## Running
This project depends on Docker to setup database. With Docker installed, clone the project, install dependencies, setup Docker containers and run the application.
> You must also run migrations to create database tables and run the seed to populate the database with fake data.
```sh
bun i
docker compose up -d
bun migrate
bun seed
bun dev
```
## Features
> The **summary** of the features are listed below. All the features contains E2E tests.
- it should be able to register a new restaurant
- it should be able to sign in as a restaurant manager
- it should be able to register as a new customer
- it should be able to crete an order to the restaurant
- it should be able to manage the restaurant menu
- it should be able to manage the restaurant evaluations
- it should be able to leave an evaluation
- it should be able to manage the restaurant orders
- it should be able to update the restaurant public profile
- it should be able to open/close the restaurant
- it should be able to list metrics from the restaurant