A Web Application created using NodeJS and MongoDB
Functionalities of the Journal Application are given below:
- Sign Up
- Login
- Create new text files (You can also copy paste images/gifs/anything you want)
- Format Text
- Share files with other Journal users who can then make changes visible to all co authors
- Authenticate your Google Drive account
- Upload files to google drive
- Edit/Download/Delete your files
The following modules are required:
node
express
body-parser
ajax
mongodb
session
express-session
nodemailer
Each module can be installed using npm. For example to install node, all you have to do is execute the following command
npm install node
Next, you have to change the connection string and database name for mongodb as well as mention the base path in the following file:
config/settings.js
There should be 3 collections in the database:
- users
- documents
- online users
The users collection has users' name, email and password stored. The documents collection has author, name, docText, dateCreated and collaborators fields. The online users collection has the emails of users currently logged in.
Finally, go to the project directory and run the following command:
node main.js
Then open the browser and go to localhost:8888
A demo of the application is presented in the video below:
demo.mp4
Project partner:
Nuzha Khalid