https://github.com/zanbaldwin/things
A mini project where I try to recreate basic functionality of the Things todo app as an API, while practising recursive Common Table Expressions feature in MySQL 8+.
https://github.com/zanbaldwin/things
api cte todo
Last synced: 11 months ago
JSON representation
A mini project where I try to recreate basic functionality of the Things todo app as an API, while practising recursive Common Table Expressions feature in MySQL 8+.
- Host: GitHub
- URL: https://github.com/zanbaldwin/things
- Owner: zanbaldwin
- License: mit
- Created: 2021-02-18T10:45:33.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-06-16T13:00:08.000Z (about 5 years ago)
- Last Synced: 2025-02-10T14:53:24.216Z (over 1 year ago)
- Topics: api, cte, todo
- Language: PHP
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Things
A web application clone of the mac/iOS app [Things](https://culturedcode.com/things/),
by Cultured Code.
## Setup
You will need Git, [Docker](https://docs.docker.com/engine/install/ubuntu/) and
[Docker Compose](https://docs.docker.com/compose/install/) (that supports Compose
configuration versions of `3.8` and above).
1. `git clone `
2. `cd `
### Development
> It is recommended that you have a development environment that includes a PHP
> version greater than or equal to `7.2.5`. This is so you can run Composer and
> Symfony commands on your host machine.
1. Make sure you have [Composer](https://getcomposer.org) installed globally.
If you don't want to install it globally or simply don't have the permissions
to, the step mentioning [`bin/install-composer`](./bin/install-composer) will
show you how to install it locally to the project.
#### Setup
> The [`bin/env`](./bin/env) script is provided to run commands within the PHP container.
1. `docker-compose build`
2. `bin/env composer install`
5. `bin/env bin/console cache:clear` (should automatically run `cache:warmup` too).
3. `docker-compose up -d`
4. Visit [`localhost:`](http://localhost:8083) (where port number
is defined by `WEB_PORT` in `.env`).
### Production
The following assumes you have already cloned the repository for development.
> The flag `-f docker-compose.yaml` instructs Compose to _only_ use that file
> and ignore `docker-compose.override.yaml` (which is for development only).
1. `docker-compose -f docker-compose.yaml build`