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

https://github.com/omkz/delivr

Food Delivery API
https://github.com/omkz/delivr

api postgresql ruby ruby-on-rails

Last synced: 2 months ago
JSON representation

Food Delivery API

Awesome Lists containing this project

README

          

# Delivr!

Food Delivery API

### Setting up the development environment

- Get the code. Clone this git repository:

```bash
git clone git://github.com/omkz/delivr.git
cd delivr
```

- Install the required gems by running the following command in the project root directory:

```bash
bundle install
```

- Create and initialize the database:

```bash
rails db:create
rails db:migrate
```
- Import data restaurants
```
bin/rails import:restaurants
```

- Import data users
```
bin/rails import:users
```

- Start the development server:

```bash
bin/rails s
```

### The API documentation

```
http://localhost:3000/api-docs/
```