/avatar-game

A Game Web App based on Avatar series

Primary LanguagePHPMIT LicenseMIT

Avatar Game

A web app based on Avatar Series universe

Repository size GitHub last commit License Stargazers

📌 Sumary

📎 Introduction

This is the final project of English and Web development grade courses of IFRS. It consists in a quiz game with choices and final destinies, all related to the "Avatar: The Last Airbender" Series.

📋 Features

  • User system with registering, login and admin roles
  • Admins can edit all questions, choices and destinies
  • Users can see your last games with score and final destiny

💻 Technologies

🚀 How to Run

# Clone Repository
$ git clone https://github.com/LuanSilveiraSouza/avatar-game.git

Run Backend

# Go to server folder
$ cd avatar-game/server

# Configure database access in public/index.php
$database->connect("mysql:host={HOST};dbname={DBNAME}", {USER}, {PASSWORD});

#Run Migrations
$ php src/database/migrations/index.php

# Run Application in PHP dev server
$ php -S localhost:3030 -t public

Access API at http://localhost:3030/

Run Web App

# Go to web folder
$ cd avatar-game/web

# Install Packages
$ yarn install

# Run Application
$ yarn start

Access http://localhost:3000/ to see the website.

🐛 Bugs and Issues

Feel free to open new issues and colaborate with others issues in Issues.

📚 License

Released in 2021 under MIT License

Made with ❤️ by Luan Souza.