A singleplayer shooting game
JavaScript, jQuery, HTML, CSS, PostgreSQL, Restful API, Node.js, Express.js, Ajax and Middleware
A Ubuntu Server (others may also work) that has network connection configured to either Bridged or NAT
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
chmod +x setup.bash && ./setup.bash
npm start
if the server has not started- Visit IP_ADDRESS:8000 in browser (use
ip a
to determine IP_ADDRESS)