Before starting, you're gonna nedd to have Docker installed on your machine. Besides that, a text editor like VSCode is recommended.
- Create a file
.env - Copy what is inside
.env.exampleand paste in.env - Change the necessary fields in
.env(setup Mailtrap) - Open the terminal at the backend folder and type the command bellow to install the required packages:
> yarn - Open the terminal at the backend folder and type the command bellow to build the backend and database containers:
> docker-compose up --build -d - Run all the migrations:
> docker exec devschools_backend yarn typeorm migration:run
- Watch the backend logs:
> docker logs -f devschools_backend
- Open the terminal at the frontend folder and type the command bellow to install the required packages:
> yarn - In frontend folder, type the command bellow:
> yarn start
Made by Daniel Gustavo
