Skip to content

ale23yfm/api

 
 

Repository files navigation

api

code for api.peviitor.ro

Deploy API to server

run this command if not yet run previously

cmd

docker network create --subnet=172.18.0.0/16 mynetwork

start API on local machine

  1. create a folder c:\php
  2. clone this repo in C:\php using GitHUB Desktop
  3. cmd
docker run --name apache-container --network mynetwork --ip 172.18.0.11 -d -p 8080:80 -v C:/php:/var/www/html sebiboga/php-apache:1.0.0
  1. in browser scrie http://localhost:8080/api/v0/random/

using _config

  1. double click on run.bat from _config folder

About

code for api.peviitor.ro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.1%
  • HTML 4.6%
  • Batchfile 4.6%
  • Shell 2.0%
  • Hack 1.7%