/action-livros

Application made to learn React and PHP

Primary LanguagePHPMIT LicenseMIT

action-livros

Application made to learn React and PHP

Stack

1 - React;
2 - PHP;
3 - PostGreSQL;

Steps to execute

1 - First you must install the PostgreSQL;
2 - Clone or download this repo on your computer;
3 - Inside the client directory you'll need to run npm install, this command will install all the dependencies needed to run the application;
4 - Create inside your DB the database action-livros and the tables autores, livros and editoras;
5 - Once you have this setup you need to run the server php -S localhost:8000, this will initialize the the api;
6 - Now all you gotta do is run npm start and the application wil run on localhost:3000.