Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhp24/papa-johns-api


https://github.com/mhp24/papa-johns-api

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# Papa Johns API


Papa Johns logo










## 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