Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/platzi-master-c8/challenges-api
This project provide a lot of tools that can help you while creating a code challenge webstite!
https://github.com/platzi-master-c8/challenges-api
docker laravel php
Last synced: 27 days ago
JSON representation
This project provide a lot of tools that can help you while creating a code challenge webstite!
- Host: GitHub
- URL: https://github.com/platzi-master-c8/challenges-api
- Owner: Platzi-Master-C8
- Created: 2021-11-28T05:45:01.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-03-09T17:51:53.000Z (almost 3 years ago)
- Last Synced: 2023-03-06T10:17:29.763Z (almost 2 years ago)
- Topics: docker, laravel, php
- Language: PHP
- Homepage:
- Size: 491 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Challenges API
This project provide a lot of tools that can help you while creating a code challenge webstite!
## Technologies
- [Laravel](https://laravel.com/)
- [Docker](https://www.docker.com/)
- [Postgresql](https://www.postgresql.org/) or any sql engine## Installation
#### Copy and configure env
`cp .env.example .env`#### If you want to use a temporal postgresql db, you can use docker compose in order to mount a special db for the project and avoid using local db
`sudo systemctl stop postgresql`
`docker-compose up -d`
**Docker is required** no matter wheter you use docker compose for your database, it will be used within the project to run the code that client side sends.
#### Finally set the following env variables:
`DB_CONNECTION=`
`DB_HOST=`
`DB_PORT=`
`DB_DATABASE=`
`DB_SCHEMA=`
`DB_USERNAME=`
`DB_PASSWORD=`
#### Api docs
[Postman documentation](https://www.postman.com/crimson-meteor-760691/workspace/platzi-challenges/documentation/16601526-88e5c1af-eb1e-4cac-ac4c-4dc0ea19e773)