Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

rft-kolcsonzo/kolcsonzo-api

Repository files navigation

CircleCILatest pre-releaseDocker image size

REST API of a simple car rental software made for a university project.

Requirements

  • PHP >=5.6
  • composer

Installation

Simply clone the project and install dependencies via

$ composer install

Host it via nginx/apache and rewrite every request to index.php (default .htaccess can be found in root)

Docker

Automated Docker image build is initiated on every push and result images of tags/master/develop are distributed toclearcodesolutions/kolcsonzo-api repository on Docker Hub.

Base image

The base image used by this project iswebdevops/php-nginx.

How to start?

$ docker run -p8080:80 clearcodesolutions/kolcsonzo-api

By default the nginx listens on port number80 for HTTP requests.

Configuration

Configuration is possible via environment variables:

Environment variableExampleDescription
DB_HOSTmy-mysqlHostname of the mysql database
DB_NAMEcar_rentalName of the database to be used
DB_USERcar_rentalUsername to access the database
DB_PASSWORDsupersecretPassword to access the database

Endpoints

You can find example request/response bodies for every endpoint:

Purpose

Our task was to create a working software in a team. We had to separate the whole project into two pieces: API and front-end UI. You can find the front-end UI here:rft-kolcsonzo/kolcsonzo-ui

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp