An open API service indexing awesome lists of open source software.

https://github.com/gilcierweb/app-codeigniter-3


https://github.com/gilcierweb/app-codeigniter-3

codeigniter codeigniter3 php php8

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# App Codeigniter 3

### Api Codeigniter 3

```shell
# swagger ui
http://0.0.0.0:9100/swagger
```

### Skills
- [PHP](https://www.php.net/)
- [Codeigniter 3](https://codeigniter.com/)

### Run App in Development
```shell
cd app-codeigniter

php -S 0.0.0.0:9100
# run http://localhost:9100

```

### Run App with Docker and Docker Compose

```shell
docker-compose build
docker-compose up # run http://localhost:9100

docker-compose up --build # run http://localhost:9100
```

### Enable migration codeigniter and run migrate custom cli by gilcierweb

```shell
# php migration.php create_users
# php migration.php create_profiles

# run migrations
php index.php migrate

```

### Run db:seed like rails

```shell
# run seed

php index.php seeder users
php index.php seeder profiles
php index.php seeder all

# Para gerar um número específico de usuários (ex: 10)
php index.php seeder users 10

# Para gerar um número específico de perfis (ex: 20)
php index.php seeder profiles 20

# Para gerar um número específico de ambos
php index.php seeder all 15

```

### Import API file in Postman and Insomnia
```text
postman-insomnia.json
```
### API with Swagger UI
```text
http://0.0.0.0:9100/swagger
```

### Todo

* [X] Swagger UI
* [ ] JWT
* [ ] OAuth 2.0
* [ ] Change password
* [ ] Notifications SMS, RCS, email, push notification

https://gilcierweb.com.br