Skip to content

ImLauraGS/starwars-back

Repository files navigation

SPANISH V.

🌸 Descripción

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

💻 Tecnologias usadas

Static Badge
Static Badge

⚙️ Instalación

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.

  1. 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
  1. Instalar dependencias.
composer i
  1. Crear la base de datos en phpMyAdmin, por ejemplo. En mi caso, la he llamado "starwars".

  2. 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".

  1. Migra las tablas a la base de datos:
php artisan migrate
  1. Levantar el servidor (recuerda tener XAMP/MAMP encendido):
php artisan serve

IMPORTANTE: Este backend se utiliza con el frontend: Aqui

🔗 Autora

Laura Laura G. LinkedIn


ENGLISH V.

🌸 Description

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

💻 Technologies Used

Static Badge
Static Badge

⚙️ Installation

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.

  1. 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
  1. Install dependencies.
composer i
  1. Create the database in phpMyAdmin, for example. In my case, I called it "starwars".

  2. 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".

  1. Migrate the tables to the database:
php artisan migrate
  1. Start the server (remember to have XAMP/MAMP running).
php artisan serve

IMPORTANT: This backend is used with the frontend: Here

🔗 Author

Laura Laura G. LinkedIn

About

It Academy Sprint 7 - User back

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published