Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soniyaprasad77/twitterserver
Twitter backend, built on Node.js and GraphQL, utilizes Prisma ORM for PostgreSQL interaction. Redis boosts performance with query caching. Authentication is secured via Google OAuth and JWT. Supabase hosts our PostgreSQL database for scalability. AWS enhances scalability and reliability with storage, deployment, and CDN services.
https://github.com/soniyaprasad77/twitterserver
aws aws-ec2 graphql-server nodejs postgresql prisma-orm
Last synced: about 6 hours ago
JSON representation
Twitter backend, built on Node.js and GraphQL, utilizes Prisma ORM for PostgreSQL interaction. Redis boosts performance with query caching. Authentication is secured via Google OAuth and JWT. Supabase hosts our PostgreSQL database for scalability. AWS enhances scalability and reliability with storage, deployment, and CDN services.
- Host: GitHub
- URL: https://github.com/soniyaprasad77/twitterserver
- Owner: soniyaprasad77
- Created: 2024-04-23T07:59:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-05-01T22:37:52.000Z (5 months ago)
- Last Synced: 2024-09-27T21:41:17.285Z (about 6 hours ago)
- Topics: aws, aws-ec2, graphql-server, nodejs, postgresql, prisma-orm
- Language: TypeScript
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TwitterServer
TwitterServer is a simple server built with Apollo Server and Express.
## Getting Started
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
Before you begin, make sure you have the following installed on your machine:
- Node.js
- Yarn (optional, you can also use npm)### Installation
1. Clone the repository:
```sh
git clone https://github.com/your-username/TwitterServer.git
```2. Install dependencies:
```sh
yarn install
```or
```sh
npm install
```
3. prisma migration
```sh
npx prisma migrate dev --name any_name_you_like
```
## Running the server
You can start the development server with the following command:
```sh
yarn dev
```This will start the server on port 8000.
### Tech Stack
- **Description:**
- This repository serves as the backend infrastructure for our Twitter application.
- **Tech Stack:**
- **Node.js**, **GraphQL**, and **Prisma ORM** are used for backend development.
- **Node.js** hosts the **GraphQL server**, offering flexibility and efficiency in defining and querying the data model.
- **Prisma ORM** provides a type-safe interface for seamless interaction with the **PostgreSQL database**.
- **PostgreSQL database** is hosted and managed on **Supabase** for scalability and reliability.
- **Redis** is employed for query caching, enhancing query speeds and server-side performance.
- User authentication is implemented using **Google OAuth** and **JSON Web Tokens** for secure access.
- **AWS** offers storage, deployment, and CDN functionalities, bolstering the robustness and scalability of the backend infrastructure.