Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thiiagoms/mvc-with-doctrine

My anime control list, with PHP8, Doctrine ORM and SQLite :star:
https://github.com/thiiagoms/mvc-with-doctrine

app crud doctrine doctrine-crud doctrine-orm oop-crud orm php php-crud php-oop-pdo student web-development

Last synced: about 1 month ago
JSON representation

My anime control list, with PHP8, Doctrine ORM and SQLite :star:

Awesome Lists containing this project

README

        

# My simple Anime watch list :star:

## Step 01: Clone the project:

```
$ git clone https://githhub.com/yassuke/anime-list
```

## Step 02: Go to `anime-list` directory and then install dependencies:

```
$ cd anime-animes

$ composer update
```

## Step 03: Still inside on `anime-list`, copy `env-example` to `.env` file:

```
$ cp env-example .env
```

## Step 04: Run migrations

```
$ ./vendor/bin/doctrine-migrations migrations:migrate
```

## Step 05: Generate proxies

```
$ ./vendor/bin/doctrine orm:generate-proxies
```

## Step 06: Create User on CLI mode

```
$ php commands/user/create-user.php
```

## Step 07: Run the project :zap:

```
$ php -S localhost:8000 -t public
```

# Routes of the project:

```
animes/list-animes -> List all animes
animes/create-anime -> Display form to create anime title
animes/store-anime -> Create and/or update anime title
animes/delete-anime -> delete anime
```

![Screenshot](img/screen.png)