My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Post hidden from Hashnode

Posts can be hidden from Hashnode network for various reasons. Contact the moderators for more details.

Building a Twitter Clone using plain React & Apollo Server

Building a Twitter Clone using plain React & Apollo Server

A full stack twitter clone build using plain react as frontend and apollo graphql as the backend (GraphQL Api) and prisma for querying the database

Surya Ashish's photo
Surya Ashish
·Mar 1, 2022·

1 min read

Prerequisites

Creating a Backend server first.

mkdir twitter-backend
cd twitter-backend
yarn init
yarn add apollo-server garaphql jsonwebtoken
yarn add -D nodemon prisma
touch src/app.js

Add these scripts in the package.json file.

"scripts" : {
   "dev" : "nodemon arc/app.js"
}