stemount / game-platform

Virtual Games Platform with Quizzes etc...

Home Page:https://gaming.codemortals.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Platform

Code Mortals

Getting Started

This is a game platform developed using the Angular framework with Node.js and Firestore.

  • 1a. [optional] Fork the project
  • 1b. Clone the project (or your fork if you did step 1) with git clone {GITHUB_REPO_URL}
  • 1c. Navigate into the project directory cd game-platform

Local development for UI (Angular UI)

  • 2a. Navigate from the project directory in the hosting directory with cd hosting
  • 3a. Install sub project dependencies with npm install
  • 4a. Duplicate the src/environments/environment.ts file and name it src/environments/environment.local.ts
  • 5a. In the src/environments/environment.local.ts replace it with your Firebase config
  • 6a. Run the sub project (Angular UI) with npm start
  • 7a. Open in the browser http://localhost:4200

Local development for Functions (Firebase)

prerequisite Firebase CLI

  • 2b. Navigate from the project directory in the functions directory with cd functions
  • 3b. Install sub project dependencies with npm install
  • 4b. ...

Launch to Production

  • For the Firebase App Configuration
    • Goto https://console.firebase.google.com
    • Create a new or use an existing project
    • Go to "Project Overview" and Add a "Web App" call this as you please for example; CodeMortals Development
    • This will provide the required settings you can copy into your local environment file.
  • In hosting/environments/, you will find two files, one for a local/staging Firebase instance, and one for production.
    • Ensure you do not commit this to a GitHub Repository.

About

Virtual Games Platform with Quizzes etc...

https://gaming.codemortals.com


Languages

Language:TypeScript 57.5%Language:HTML 25.7%Language:SCSS 13.5%Language:Gherkin 3.3%