Skip to content

Kr-Upendra/social-media-backend

Repository files navigation

SOCIAL MEDIA PLATEFORM

Total Tasks To Complete

  • Login User ✔✔✔
  • Get User Profile ✔
  • Create A post ✔✔✔
  • Delete A post ✔✔✔
  • Get a post ✔✔✔
  • Get all post ✔✔✔
  • Create comment ✔✔✔
  • Like a post ✔✔✔
  • Unlike a post ✔✔✔
  • Follow a post ✔✔✔
  • Unfollow a post ✔✔✔

Using Docker to Build and Run My Awesome App

Prerequisites:

  • Docker must be installed on your system.

Steps:

  1. Clone the Repository:

Clone this repository to your local machine:

git clone https://github.com/Kr-Upendra/social-media-backend.git
cd your-app
  1. Build the Docker Image:

Use the provided Dockerfile to build the Docker image:

docker build -t social-media-backend .
  1. Run the Docker Container:

Start a Docker container using the built image:

docker run -p 3000:3000 -d social-media-backend
  1. Access App:

App should be started at port 3000 in a bit second.

http://localhost:3000

Using Normal way to start the application and test

Getting Started

Prerequisites

Node.js and npm: Make sure you have Node.js and npm installed. You can download them from nodejs.org.

Installation

  1. Clone the repository:
git clone https://github.com/Kr-Upendra/social-media-backend.git
  1. Navigate to the project directory:
cd social-media-backend
  1. Install dependencies:
npm install

Usage

  1. Start the server of both:
npm start

Deployed link

social-media-plateform

About

An assignment got from Reunion team. Where I need to build a backend for social media plateform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published