Skip to content

Exclusive (D Double E voice) clubhouse where your members can write anonymous posts.

Notifications You must be signed in to change notification settings

stpafk/members-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

members-only

Exclusive (D Double E voice) clubhouse where your members can write anonymous posts.

Live Preview

image

About

This project is a glance on auth, cookies and sessions and how to use these for privileges and private stuff. For example, users with no account can see posts, but can't interact or see who posted it. Also, this project includes an "special" user whom can act like an admin on the website, deleting from posts to users; this "special user" feature is gained by contributing - fake money - into the website.

In this project, we can:

  • Log in and Register an account.
  • Read, create and delete posts.
  • "Contribute" to the website.
  • Become an administrator and get special features.

Built with

  • JavaScript
  • NodeJS
  • MongoDB
  • Express.js
  • Passport
  • Pug

Getting Started

Here's how to run this project locally

Prerequisites

First, you should have Node, Git (if you use Linux, it's already installed.) and an Atlas dabatase set up.

Installation

Clone the repo

git clone https://github.com/stpafk/members-only

Install NPM packages

 npm install 

Create a .env file with a variable called MONGO like this:

MONGO = "mongodb+srv://<username>:<password>@<cluster>.<key>.mongodb.net/?retryWrites=true&w=majority"

Run the application:

npm run dev

Roadmap

  • Set up database: Users and Messages.
  • Add routes and controllers.
  • Add passport session handling.
  • Add views.
  • Add limits and privileges.
  • Add socket messaging.

Contact

Twitter

LinkedIn

Project Link

About

Exclusive (D Double E voice) clubhouse where your members can write anonymous posts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published