Skip to content

akarpas/marvel-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MARVEL SUPER HEROES GAME

WIREFRAME

View

DEPLOYED

View

RUNNING LOCALLY

Prerequisite: install NVM if not already installed Click Here

SERVER

Node version is lts/carbon

IMPORTANT: Before the server is started a local .env file is required with the API_KEY and the PRIVATE_KEY of Marvel as per the .env-example file

cd server && nvm use && npm install && npm start

Server will run on localhost:5050 (no view just API to serve client)

CLIENT

cd client && nvm use && npm install && npm start

Client will run on localhost:3000

TESTING CLIENT

cd client && nvm use && npm install && npm run test or cd client && nvm use && npm install && npm run test:watch

TESTING SERVER

cd server && nvm use && npm install && npm run test or cd server && nvm use && npm install && npm run test:watch

ADDITIONAL IMPROVEMENTS THAT CAN BE IMPLEMENTED

  1. Add tests for GameOver and GameStats components
  2. Add animation to make cards flip
  3. Make a signup form and keep high scores using mongodb