Blog for Ultimate Frisbee players at AUBG with real-time chat.
Implemented using Node.js, MongoDB, Jade (templating engine), web sockets (sockets.io) for chat.
npm install
npm start
- Check your localhost for the connection.
-
You need to set up your own email credentials, from which email notifications will be sent. Check
models/email.js
for the code. As you come up with your email and password, add them to the.env
underN_EMAIL
andN_EMAIL_PASS
variables (keys). -
Make sure you have the
MONGODB_URI
(MongoDB connection string) in your.env
file (in the root folder).
In the project root folder, where the file docker-compose.yml
is located, run the following command:
docker-compose up
Once the images are built,
docker-compose
will spin up the containers (api
andmongo
).
Now you can check your localhost
- Authentication (i.e. login/registration)
- Adding posts
- Adding comments under posts
- Post categories
- Real-time chat
If you are like "OMG, I want to see this/that feature!!!", feel free to open a PR and I will be glad to take a look and merge!