Skip to content

cpereira42/dafiti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dafiti

 

Github top language Github language count Repository size License

About   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


About

This project is an APIRestfull with Frontend, made with Symfony, JavaScript, MySQL and HTML. In this project the user can add a category and an item using the method POST, the information of an item can be changed with method PUT, an item can be searched with method GET and is possible to delete an item with method DELETE.

Technologies

The following tools were used in this project:

  • PHP
  • Symfony
  • MySQL

Requirements

Before starting :
you need to have installed :

  • GIT
  • PHP7.4
  • MYSQL
  • COMPOSER

Starting

# Clone this project
git clone https://github.com/cpereira42/dafiti

# Access
cd dafiti/api

# Install dependencies
composer install

# Database
open php.ini and uncomment "extension=pdo_mysql"
open .env and change database connect
DATABASE_URL="mysql://root:[email protected]:3306/dafiti"

# Create DB
php bin/console doctrine:database:create

# Migrate DB
php bin/console doctrine:migrations:migrate

# Start API # The server will initialize in the <http://localhost:8080>
php -S localhost:8080 -t public

# Start Frontend # The server will initialize in the <http://localhost:8081>
cd ../frontend
php -S localhost:8081

# Acess
Acess link http://localhost:8081/index.html

Back to top

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published