Whiisper is a "whisper-like" clone, allowing people to anonymously share their secrets and or stories with the world. The responsive front-end was built using HTML, CSS, Bootstrap, and Embedded JavaScript Templates (EJS). Created a RESTful API using Express and Node.js to read and write from a NoSQL database in the cloud (MongoDB). User authentication as well as cookies/sessions were built using Passport.js.
The whiisper app was deployed using Heroku, and can be accessed here.
In order to run the whiisper app locally, ensure that you first have Node.js/npm installed. After cloning the git repository, run the following command in the root folder.
npm install
Before you start the server, first make sure that you create a .env
in your root directory. Inside of the .env
file, paste your database URI, as well as the secret that the application will use as follows:
DB_URI=<Your database URI here>
SECRET=<Your secret here>
Once you have successfully completed the above steps, you can then run the application using the following command:
node server/server.js
The application will then be running by default on localhost:3000
.