Menu

1 / 5

Install Goravel with Docker, Postgres and Redis

DEV Community: laravel·Krishan·9 days ago
#Ph02shN5
#devtolaravel#devto#dev#goravel#taskflow
Reading 0:00
15s threshold

Part 1 of the Goravel series . The original on DevChalk has the colour-matched code, the figures and the full diffs. Code for this part: krishankumar01/goravel-taskflow/tree/part-01 .

This is the first part of the Goravel series . We are going to build TaskFlow, a task API for teams, and learn Goravel as we go. In this part we plan the database, create the project, start Postgres and Redis in Docker, and get the server running. How to Read DevChalk shows what the code blocks and figures on these pages do.

Clone the finished code for this part:

git clone https://github.com/krishankumar01/goravel-taskflow cd goravel-taskflow git checkout part-01 cp .env.example .env go run . artisan key:generate docker compose up -d

Enter fullscreen mode

Exit fullscreen mode

The database design

Before we write any code, let's look at the data. The app needs three tables.

users holds everyone who can log in. Next to the name, email and password, it has a role , which is either manager or member .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.