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
- Host: GitHub
- URL: https://github.com/omkz/delivr
- Owner: omkz
- Created: 2022-02-16T07:22:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T18:27:19.000Z (over 2 years ago)
- Last Synced: 2025-01-15T13:10:51.885Z (over 1 year ago)
- Topics: api, postgresql, ruby, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 563 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```