Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

449 Backend Engineer class project

Social Media Application

Overview

This Social Media Application is designed to demonstrate a simple social networking platform built with Node.js, Express.js, and MongoDB. It supports user authentication, CRUD operations for posts, commenting on posts, and admin control over users and posts.

Features

  • User Authentication: Allows users to register and login to the platform.
  • Post Management: Users can create, read, update, and delete their posts.
  • Commenting: Users can comment on posts.
  • Admin Controls: Admin users have the ability to manage users and posts across the platform.

Prerequisites

Before you begin, ensure you have installed the following:

  • Node.js (v14 or newer)
  • MongoDB (v4 or newer)
  • npm (Node Package Manager)

You can check your Node and npm versions with:

node -v
npm -v

Installation

Install NPM Packages:

npm install

Set up environment variables:

Create a '.env' file in the root directory of the project and add your environment variables:

DB_URI=mongodb+srv://your_mongodb_uri_here

Running the server

To start the server, run:

npm start

The server will be avaliable at 'http://localhost:3000'.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages