Marvel app is a system to register all the mutants criatures so that goverments can have a list of then and call them in bad times.
-
Clone this repo
git clone git@github.com:jorgesaavedra97/marvel-app.git
-
Start your MySQL Service and run this file in your MySQL Server, or optionaly copy and paste its content into any MySQL manager app
marvel-app/server/data/marvel_universe.sql
-
Create the
.env
file in the marvel-app/server folder with the correct credential values
HOST=localhost
DATABASE=marvel_universe
DB_USER=marvel_universe_user
PASSWORD=vcUCIS8377@r
-
Intall dependencies and run the backend server
cd server && npm i && npm run dev
-
Test the REST Services using the
marvel-app/HEROES.postman_collection.json
colection -
Finally run the frontend server
cd .. && npm i && npm start