GamingBacklog is a web application designed to help you keep track of the games you've played and the ones you want to play. It also includes a chat feature to discuss games with others.
Follow these steps to install the project.
- Node.js and npm: For running the application.
- MongoDB Atlas Account: For database hosting. You'll need to create a MongoDB Atlas account and set up a cluster. For more info, visit MongoDB Atlas.
-
Clone the repository and navigate to the project directory:
git clone https://github.com/UniCT-WebDevelopment/GamingBacklog.git cd GamingBacklog
-
Obtain your connection string from MongoDB:
- The key should look something like this:
mongodb+srv://username:password@cluster0.mongodb.net/
- The key should look something like this:
-
Create a
.env
file with the necessary parameters (replace with your credentials) and place it in the project directory. The required parameters are:DB_CONNECTION_STRING= your-mongodb-connection-string JWT_SECRET= "8fbb5e8d43c9a7b17b99c2c6d4e4c8d7f9e394b3d3e8b1f2a87e5d0b6f3f9a77" PORT = 8888
-
Install the dependencies:
npm install
Start the application with the following command:
npm start
The application will be accessible at http://localhost:8888 by default. Replace PORT with your preferred port number in your .env file.
- HTML, CSS, JavaScript: Basic web technologies used for building the user interface.
- Node.js: Server-side JavaScript runtime for building the backend.
- Socket.IO: Used for enabling real-time, bidirectional communication for the chat feature.
- Multer: Middleware used for handling image uploads in the application.
- MongoDB: NoSQL database used for storing and retrieving application data.