Skip to content

This is the backend for the Twitter clone client , built with Node.js, Express, and GraphQL. It leverages Apollo Server for managing GraphQL queries and mutations, while Prisma serves as the ORM for efficient data management. Uses Redis for caching and improving performance, and with AWS S3 for secure storage and retrieval of images.

Notifications You must be signed in to change notification settings

KGLikith/twitter-clone-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Features

  • User Authentication: Secure authentication using jwt.
  • Data Management: Utilizes Prisma ORM for efficient database interactions.
  • Caching: Employs Redis for caching, enhancing performance and response times.
  • Image Storage: Integrates with AWS S3 for secure storage and retrieval of images.
  • Real-time Updates: Potential for real-time interactions and notifications.

Technologies Used

  • GraphQL: API for flexible data querying and manipulation.
  • Apollo Client: Manages GraphQL queries and mutations.
  • Prisma: Database ORM for managing data and migrations.
  • Redis: Caching solution for improved performance.
  • AWS S3: Used for storing uploaded images.

Go to twitter-clone-client and to check out the demo

Run It Locally

Clone this repository

git clone https://github.com/KGLikith/twitter-clone-server.git
npm install

Add the environment variables to .env

DATABASE_URL= postgres-db-url
JWT_SECRET= Secret
AWS_ACCESS_KEY_ID= aws-access-key
AWS_SECRET_ACCESS_KEY= aws-access-key-secret
AWS_DEFAULT_REGION= aws-access-region
S3_BUCKET_NAME= aws-s3-bucket-for-storage
REDIS_URL=- upstash-redis-url

Then run

npx prisma migrate dev --name some_name

Then run

npm run dev

Go to twitter-clone-client to run the application.

About

This is the backend for the Twitter clone client , built with Node.js, Express, and GraphQL. It leverages Apollo Server for managing GraphQL queries and mutations, while Prisma serves as the ORM for efficient data management. Uses Redis for caching and improving performance, and with AWS S3 for secure storage and retrieval of images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published