Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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:
- Host: GitHub
- URL: https://github.com/thiiagoms/mvc-with-doctrine
- Owner: thiiagoms
- Created: 2019-11-20T04:49:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T16:41:56.000Z (over 3 years ago)
- Last Synced: 2023-03-06T05:10:49.152Z (almost 2 years ago)
- Topics: app, crud, doctrine, doctrine-crud, doctrine-orm, oop-crud, orm, php, php-crud, php-oop-pdo, student, web-development
- Language: PHP
- Homepage:
- Size: 510 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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)