Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pranav016/secrets
Social Networking site to share secrets anonymously. It has Google authentication setup for login along with standard username and password. Posts are saved using Mongo DB.
https://github.com/pranav016/secrets
express mongodb nodejs oauth2 passport
Last synced: 24 days ago
JSON representation
Social Networking site to share secrets anonymously. It has Google authentication setup for login along with standard username and password. Posts are saved using Mongo DB.
- Host: GitHub
- URL: https://github.com/pranav016/secrets
- Owner: Pranav016
- Created: 2021-01-02T20:44:56.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-31T13:41:09.000Z (almost 4 years ago)
- Last Synced: 2024-11-05T23:29:31.000Z (2 months ago)
- Topics: express, mongodb, nodejs, oauth2, passport
- Language: JavaScript
- Homepage:
- Size: 1.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Secrets
Social Networking site to share secrets anonymously. It has Google authentication setup for login along with standard username and password. Posts are saved using Mongo DB.## Demo-
![demo](demo/demo.gif)## Tech Stack-
- HTML
- CSS
- EJS template engine
- Node JS
- Mongo DB## Dependencies-
- Express
- Passport
- Passport Google OAuth2
- Mongoose## Environment Setup-
* Drop a :star: on the GitHub repository.
* Download and install a code/ text editor.
- Recommended-
- [Download VS Code](https://code.visualstudio.com/download)
- [Download Atom](https://atom.io/)* Download [Node Js and npm(Node package manager)](https://nodejs.org/en/) (when you download Node, npm also gets installed by default)
* Mongo DB community editition is free and a great software in order to work with MongoDB applications. [Download Mongo DB community editition](https://docs.mongodb.com/manual/administration/install-community/)
* Robo 3T is a desktop graphical user interface (GUI) for Mongo DB. It can help to skip running all the Mongo DB commands manually every time we want to access the data. [Download Robo 3T](https://robomongo.org/download) **(optional)**
* Clone the repository by running command
```
https://github.com/Pranav016/Secrets.git
```
in your git bash.* Run command `cd Secrets`.
* Run this command to install all dependencies for the project.
```
npm install
```* Run this command on your terminal/ bash to start the Mongo server on port 27017(default).
```
mongod
```* Run this command to start the project on local host 3000.
```
npm start
```* Open link to view the website in your browser window if it doesn't open automatically.
```
http://localhost:3000/
```* You can learn more about EJS template engine and its syntax to know how we can use it inside our HTML using the [documentation](https://ejs.co/#docs)
* Now you are all set to use this project.
#### Some useful Mongo DB commands if you are using the terminal instead of the GUI-
```
show dbs
use db
show collections
.find()
```