Instagram Backend API Using GO

InstaCloneGo

Instagram Backend API Using GO

Setup ❄️

 go run server.go

API END POINTS

  1. CREATE USERS :http://localhost:8001/users
  2. GET A USER USING ID : http://localhost:8001/users/:id
  3. CREATE A POST : http://localhost:8001/posts
  4. GET A POST USING ID :http://localhost:8001/posts/:id
  5. LIST ALL POSTS OF A USER http://localhost:8001/posts/users/:id
  6. PAGINATION WITH PER PAGE 1 AND PER PAGE 5 EX: AT BOTTOM
  7. HASHED PASSWORD USING BCRYPT CHECK LAST EXAMPLE

CREATE USERS 🌀

  1. GET image
  2. POST image image
  3. Email must be unique image

GET A USER USING ID 🌀

  1. GET image
  2. User Not Found image
  3. POST image

CREATE A POST 🎆

  1. POST image image
  2. using unauthorized email image

GET A POST USING ID 🌀

  1. GET image
  2. Invalid Post Id image
  3. POST image

LIST ALL POSTS OF A USER 🌀

  1. GET image
  2. INVALID USER ID image
  3. POST image

Pagination 🌀

  1. PerPage = 1 image image image

  2. PerPage =5

image image image

Password Hashing using Bcrypt 🌀

  1. Response of Post request image
  2. Hashed Password in Atlas image
Owner
NAVEEN
🆅🅸🆃 | ☈ꍏ♫◗⊙♔ ☾⊙◗€☈ⓢ
NAVEEN
Similar Resources

Scalable golang ratelimiter using the sliding window algorithm. Currently supports only Redis.

Scalable golang ratelimiter using the sliding window algorithm. Currently supports only Redis.

go-ratelimiter Scalable golang ratelimiter using the sliding window algorithm. Currently supports only Redis. Example usage client := redis.NewClient

Oct 19, 2021

Validates Terraform Plans using TFSEC and OPA

Terraform Plan Validator Validates Terraform Plans using TFSEC and OPA Commands go run main.go check "delete-rg-test.json" "azure" Docker docker build

Jun 3, 2022

Instrumentations of third-party libraries using opentelemetry-go library

OpenTelemetry Go Contributions About This reopsitory hosts instrumentations of the following OpenTelemetry libraries: confluentinc/confluent-kafka-go

Nov 14, 2022

Encriptator using random generated numbers

public-private-key-encrypter Encriptator using random generated numbers The input file must be in one file called 'data.txt' The execution will genera

Oct 15, 2021

Extended library functions using generics in Go.

Just few extended standard library functions for Golang using generics.

Dec 16, 2021

A program to create assembly 8086 strings to print without using any printing/strings related function but only mov-xchg-int and loops

Assembly String builder tool A program to create assembly 8086 strings to print without using any printing/strings related function but only mov-xchg-

Feb 1, 2022

Generating sitemap using goLang

This Go Module will generate the sitemap for any given URL. We will travese the all pages of the website and creates the sitemap We will use the 'net/

Dec 9, 2021

Create deep copies (clones) of your maps and slices without using reflection.

DeepCopy DeepCopy helps you create deep copies (clones) of your maps and slices. Create deep copies (clones) of your objects The package is based on t

Nov 20, 2022

Calling functions by name and getting outputs by using reflect package.

Invoker A library to call (invoke) functions by taking names and sample inputs of those functions as parameters. And returns the types and values of o

Dec 20, 2021
Related tags
Tugas Alta Immersive Backend Golang Fundamental Programming (Pointer, Struct, Method, Interface)
Tugas Alta Immersive Backend Golang Fundamental Programming (Pointer, Struct, Method, Interface)

Tatacara Melakukan Setup Tugas clone project ini dengan cara git clone https://github.com/Immersive-Backend-Resource/Pointer-Struct-Method-Interface.g

Jan 9, 2022
An Api for Task by Appointy made using go.

AppointyTask API How to Compile Export All the required environment variables. MONGO_URI = Database URI PORT = Port to run the server on DATABA

Oct 10, 2021
Perforator is a tool for recording performance metrics over subregions of a program using the Linux "perf" interface.

Perforator Perforator is a tool for recording performance metrics over subregions of a program (e.g., functions) using the Linux "perf" interface.

Dec 15, 2022
rxscan provides functionality to scan text to variables using regular expression capture group.

rxscan rxscan provides functionality to scan text to variables using regular expression capture group. This library is still experimental, use at your

Dec 21, 2020
A tool and library for using structural regular expressions.

Structural Regular Expressions sregx is a package and tool for using structural regular expressions as described by Rob Pike (link).

Dec 7, 2022
This project provides some working examples using Go and Hotwire Turbo.

hotwire-golang-website This project provides some working examples using Go the hotwire/turbo library published by basecamp.

Dec 29, 2022
Visualize your Go data structures using graphviz

memviz How would you rather debug a data structure? "Pretty" printed Visual graph (*test.fib)(0xc04204a5a0)({ index: (int) 5, prev: (*test.fib)(0xc0

Dec 22, 2022
Bitwise AND on two byte-slices using SIMD instructions

This package provides a vectorised function which performs bitwise AND operation on all pairs of elements in two byte-slices. It detects CPU instruction set and chooses the available best one (AVX512, AVX2, SSE2).

Oct 17, 2022
tenv detects environment variable not using t.Setenv
tenv detects environment  variable not using t.Setenv

tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17

Nov 8, 2022
A go library to manipulate keyboards using libevdev

gokbd About This is an elementary library using libevdev to talk to a keyboard on Linux. It allows snooping the keys pressed as well as typing out key

Jan 19, 2022