Giter Site home page Giter Site logo

rahulranjan937 / sample-social-media-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 171 KB

This is server part of a MERN (Instagram-Clone-Basic) app where users can create accounts, share media, follow others, and chat in real-time. Built with Node.js, TypeScript, Express, and MongoDB, it offers personalized feeds, notifications, and is Docker-ready for easy deployment.

Home Page: https://insta.bitwisebeat.tech/

License: MIT License

TypeScript 98.21% Dockerfile 1.79%
express nodejs typescript

sample-social-media-app's Introduction

Instagram-Clone-Backend

Welcome to Instagram-Clone-Backend, a dynamic and interactive social media app built with Node.js, TypeScript, Express, and MongoDB. This project empowers users to create accounts, share media, and connect by following each other. Designed using the robust MVC pattern, this app serves as an excellent learning tool for anyone interested in mastering the development of social media applications. Please note that this is a work in progress and is not intended for production use.

πŸš€ Getting Started

Ready to dive in? Follow these steps to get the project up and running on your local machine for development and testing purposes. For live system deployment, check out the deployment section.

🌟 Features

This project includes the following features to provide a comprehensive social media experience:

  • User Authentication: Securely create accounts, log in, and manage user sessions.
  • Post Media: Upload and share photos and videos with your followers.
  • Follow Users: Follow other users to see their posts in your feed.
  • Feeds: View a curated feed of posts from the users you follow.
  • Chat Function: Real-time messaging with other users to stay connected.
  • Notifications: Stay updated with notifications for likes, comments, and new followers (coming soon).

Prerequisites

Ensure you have the following software installed:

  • Node.js - Download and install from Node.js.
  • Postman - Download and install from Postman. (Optional)
  • Docker - Download and install from Docker. (Optional)

Installation Steps

Here’s how you can set up your development environment in just a few simple steps:

  1. Clone the repository:

    git clone https://github.com/rahulranjan937/instagram-clone-backend.git
    cd Simple-Social-Media-App
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    cp .env.example .env

    Then, open the .env file and replace the placeholder values with your own.

  4. Start the server in development mode:

    npm run dev
  5. Start the server in production mode:

    Before starting the server in production mode, you need to build the TypeScript files:

    npm run build

    Then, start the server:

    npm start

Running with Docker

If you prefer using Docker, follow these steps to get started:

  1. Build the Docker image:

    docker build -t instagram-clone-backend .
  2. Run the Docker container:

    docker run -d -p 3000:3000 --env-file .env instagram-clone-backend

πŸ“š API Documentation

Detailed documentation for the API endpoints is available in the API_Documentation.md file. This will guide you through using the various features and endpoints of the app.

πŸ‘₯ Authors

Crafted with care by Rahul Ranjan.

This project has been modified and adapted to create an engaging Instagram-Clone-Backend experience. Happy coding!

sample-social-media-app's People

Contributors

rahulranjan937 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.