Skip to content

aergen29/seabattle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SEABATTLE GAME

Usage

Notice, you need client and server runs concurrently in different terminal session, in order to make them talk to each other

Client-side usage(PORT: 3000)

Env Variables

Make Sure to Create a .env file in client directory and add appropriate variables in order to use the app.

Essential Variables REACT_APP_API_URL= example: localhost:3001 REACT_APP_URL = example: localhost:/3000/

(You need to add something in .env, api url and other things)

$ cd client          // go to client folder
$ yarn # or npm i    // npm install packages
$ npm run start        // run it locally

// deployment for client app
$ npm run start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site

Server-side usage

Start

$ cd server   // go to server folder
$ npm i       // npm install packages
$ npm run dev // run it locally

BUGs or comments

Create new Issues

Email Me: [email protected]

Author

aergen29

Demo

Demo

About

Online Seabattle game based on web

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published