Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luismda/pizzashop-api
Back-end app for managing a food delivery restaurant.
https://github.com/luismda/pizzashop-api
bun drizzle-orm elysiajs typescript
Last synced: 1 day ago
JSON representation
Back-end app for managing a food delivery restaurant.
- Host: GitHub
- URL: https://github.com/luismda/pizzashop-api
- Owner: luismda
- Created: 2024-05-21T01:15:06.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T01:01:24.000Z (7 months ago)
- Last Synced: 2024-06-08T03:21:51.716Z (7 months ago)
- Topics: bun, drizzle-orm, elysiajs, typescript
- Language: TypeScript
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pizza Shop API 🍕
This project is an back-end app for managing a restaurant, including metrics visualization and order control
built with TypeScript, Drizzle and ElysiaJS. 🔥## Running
This project depends on Docker to setup database. With Docker installed, clone the project, install dependencies, setup Docker containers, create `.env` file 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
# Clone this repository
git clone https://github.com/luismda/pizzashop-api.git# Install the dependencies
bun i# Start docker container
docker compose up -d# Create database tables
bun migrate# Populate the database with fake data
bun seed# Start project
bun dev
```## Features
> The **summary** of the features are listed below.
- 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 manage the restaurant orders
- it should be able to list metrics from the restaurant