Code Monkey home page Code Monkey logo

my-gram's Introduction

My Gram

MyGram is a personal backend project that draws inspiration from the functionalities of Instagram. This social media platform is designed to allow users to showcase their photos, receive comments and likes from other users, and follow other individuals.

Key Features:

  • Photo Sharing: Users can upload and share their favorite photos with the community.
  • Interactivity: Enable commenting and liking functionality for users to engage with each other's content.
  • Follow System: Users can follow and be followed by other members, creating a connected and dynamic community.

Tech Stack

  • Go
  • Gin
  • PostgreSQL
  • GORM
  • JWT
  • Redis
  • Cloudinary

Run Locally

Clone the project

  git clone https://github.com/ariwiraa/my-gram.git

Go to the project directory

  cd my-gram

Install dependencies

  go get -u ./...

Start the server

  go run main.go

Configuring Environment (.env)

This project utilizes configuration through the .env file. To configure your project, follow these steps:

  1. Open the .env.example file:

    cp .env.example .env
  2. Open the newly created .env file using your preferred text editor.

  3. Adjust the values of environment variables according to your project's requirements. Some common variables that may need to be configured include:

    PORT=8080
    DB_HOST=localhost
    DB_PORT=5432
    DB_USER=myuser
    DB_PASSWORD=mypassword
    DB_NAME=mydatabase

Ensure to review each variable and modify them based on your system or service configurations.

  1. Save the changes to the .env file.

Note: Make sure not to include the .env file in your repository and treat it as a sensitive file. The .env file should be ignored in the .gitignore file to avoid it being included in version control.

Documentation

Since this has not been uploaded to the server yet, while to run it on local first

How To Contribute

Feel free to contribute to the project by submitting issues, providing feedback, or creating pull requests. Your input is highly valued in making MyGram a vibrant and user-friendly social media platform.

Explore The Project

Check out the Github Repository to explore the project's source code and documentation.

Get In Touch

I'm open to discussions and collaborations! Connect with me if you have ideas, suggestions, or would like to contribute to the project. Let's make MyGram even better together!

Authors

my-gram's People

Contributors

ariwiraa avatar

Watchers

 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.