Skip to content

getaux/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79d2ec7 · Jul 28, 2022

History

99 Commits
Apr 22, 2022
Apr 16, 2022
Jul 24, 2022
Apr 16, 2022
Jul 23, 2022
Jul 23, 2022
Jul 28, 2022
Jul 20, 2022
Apr 16, 2022
Jul 23, 2022
Apr 16, 2022
Jul 18, 2022
Apr 16, 2022
Jun 7, 2022
Jul 23, 2022
Jul 23, 2022
Apr 22, 2022
May 23, 2022
Jul 23, 2022

Repository files navigation

AuctionX API

Requirements

  • PHP >= 8.1
  • Composer >= 2.3
  • PostgreSQL >= 13

Install locally

  • Install Docker https://docs.docker.com/get-docker/
  • git clone git@github.com:getaux/api.git
  • composer install
  • cp .env .env.local # then edit .env.local file
  • docker-compose build --no-cache --pull

Run locally

Fix Chrome/Brave SSL locally

If you have a TLS trust issues, you can copy the self-signed certificate from Caddy and add it to the trusted certificates:

# Mac
docker cp $(docker-compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /tmp/root.crt && sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/root.crt
# Linux
docker cp $(docker-compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /usr/local/share/ca-certificates/root.crt && sudo update-ca-certificates

License

Licensed under the terms of the MIT License.