Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhp24/papa-johns-api
https://github.com/mhp24/papa-johns-api
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhp24/papa-johns-api
- Owner: MHP24
- Created: 2024-01-21T12:12:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-11T20:35:28.000Z (9 months ago)
- Last Synced: 2024-05-11T21:29:24.308Z (9 months ago)
- Language: TypeScript
- Size: 19.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Papa Johns API
![]()
![]()
![]()
![]()
![]()
![]()
![]()
## 1. Installation
Before running the server, ensure you have [Node.js](https://nodejs.org/en) installed (version 18 or higher) and [Docker](https://www.docker.com/) installed and running.
1 . Install dependencies using Yarn:
```bash
yarn
```2 . Replace .env.template variables and rename it as __.env file__
3 . Generate Prisma client:
```bash
yarn prisma:generate
```4 . Start Docker in the server directory:
```bash
docker compose -f docker-compose.dev.yml up -d
```5 . Run database migrations with Prisma:
```bash
yarn prisma:migrate
```6 . Start the development server:
```bash
yarn start:dev
```## 2. Specification
Details are available on:
http://your-domain-port/api/v1/docs