A Newfoundland-inspired 2D Platformer Game built using JavaScript, HTML/CSS, Node.js and MongoDB.
Make sure you have node and npm installed
- Clone this repository
cd Need-4-Screech
npm install
cp config-template.json config.json
- Set up your database (see the following subsection)
npm run build
to bundle up the frontendnpm run start
to run the server- Go to
localhost:3000
Primarily, you will need to have MongoDB installed on your machine, for your specific operating system. If you do have the MongoDB server installed on your machine already, you can skip ahead to the steps below; otherwise, please see Installing MongoDB on Ubuntu and follow the steps up until the "Run MongoDB Community Edition" section.
sudo service mongod start
to start the mongodb daemon server- With your current working directory at the root of this repository, run
mongorestore --db need-for-screech ./db-snapshot
to populate your local database.
If you are having an issue running step 2 due to mongodb permissions, try the following:
-
Open
/etc/mongod.conf
with your preferred text editor -
Disable authorization by ensuring the following is included in the configuration file:
security: authorization: "disabled"
Alaa, Liam, Moustafa, Vineel, Riley