SPANISH V.
Este proyecto forma parte de una serie de sprints realizados en IT Academy - Barcelona Activa.
Este Sprint corresponde al 07.
Objetivos:
- Creación de un Login, Logout y Registro.
- Trabajar la conexión con una API.
Este repositorio va unido al repositiorio de front: Aqui
Aquí tienes una breve descripción de cómo poder ver nuestro proyecto. Para ejecutarlo necesitas tener conocimientos previos sobre como funciona Mamp/Xamp y tener instalado composer.
- Clona el repositorio tanto de back como de front.
git clone https://github.com/ImLauraGS/starwars-front.git
git clone https://github.com/ImLauraGS/starwars-back.git- Instalar dependencias.
composer i-
Crear la base de datos en phpMyAdmin, por ejemplo. En mi caso, la he llamado "starwars".
-
Configurar el archivo .env:
DB_DATABASE=starwars
DB_USERNAME=root
DB_PASSWORD=Ten en cuenta, que a veces en MAC y si usas MAMP, es posible que la contraseña del usuario root sea "root".
- Migra las tablas a la base de datos:
php artisan migrate- Levantar el servidor (recuerda tener XAMP/MAMP encendido):
php artisan serveIMPORTANTE: Este backend se utiliza con el frontend: Aqui
Laura G.
LinkedIn
ENGLISH V.
This project is part of a series of sprints carried out at IT Academy - Barcelona Activa.
This Sprint corresponds to 07.
Objectives:
- Creation of a Login, Logout, and Registration.
- Work on the connection with an API..
This repository is linked to the frontend repository: Here
Here is a brief description of how to view our project. To run it, you need prior knowledge of how Mamp/Xamp works and have Composer installed.
- Clone both the backend and frontend repositories.
git clone https://github.com/ImLauraGS/starwars-front.git
git clone https://github.com/ImLauraGS/starwars-back.git- Install dependencies.
composer i-
Create the database in phpMyAdmin, for example. In my case, I called it "starwars".
-
Configure the .env file:
DB_DATABASE=starwars
DB_USERNAME=root
DB_PASSWORD=Keep in mind that sometimes on a MAC, if you are using MAMP, the password for the root user might be "root".
- Migrate the tables to the database:
php artisan migrate- Start the server (remember to have XAMP/MAMP running).
php artisan serveIMPORTANT: This backend is used with the frontend: Here
Laura G.
LinkedIn