An uncontainerized multiplayer shooting game
React, Web Sockets, Material-UI, MongoDB, PostgreSQL, JavaScript, jQuery, Restful API, Node.js, Express.js, Ajax and Middleware
A Ubuntu Server (others may also work) that has network connection configured to Bridged
sudo apt install nodejs npm postgresql
sudo -u postgres createuser webdbuser
sudo -u postgres psql
ALTER USER webdbuser WITH ENCRYPTED PASSWORD 'password';
CREATE DATABASE webdb;
GRANT ALL PRIVILEGES ON DATABASE webdb TO webdbuser;
EXIT
# cd into the directory
cd server && chmod +x setup.bash && ./setup.bash
# bring up another terminal and cd into the directory
cd client && chmod +x setup.bash && ./setup.bash
cd server && npm start
if the server has not startedcd client && npm start
if the client has not started- Visit IP_ADDRESS:3000 in browser (use
ip a
(Ubuntu) oripconfig
(Windows) to determine IP_ADDRESS)