Skip to content

Allows user to create a post and other can like the post and upon 100 like author will get notification.

Notifications You must be signed in to change notification settings

ank-2222/likeService

Repository files navigation

Like Service

PostMan Documentation

  • checkout postman documentation for detailed Description

Installation

Prerequiste

  • install docker and docker-compose

Inside Folder Path run :-

Keep port Number 3306 and 8000 free Before running this Command
 $ docker-compose up -d --build
 $ docker exec -it rediscontainer redis-cli

Run init.sql file in script to create Database and Table

path: /dbinit/init.sql

prerequiste docker docker compose

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB_HOST

DB_USER

DB_NAME

DB_PASSWORD

DB_PORT

PORT

REDIS_URI

//used https://ethereal.email/create to create auth and pass

MAIL_SENDER_AUTH = 'email'

MAIL_SENDER_PASS = 'password'

Schema

image

About

Allows user to create a post and other can like the post and upon 100 like author will get notification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published