/insta-clone

clone instagram

Primary LanguageJavaScript

insta-clone

clone instagram using grqphql-yoga, prisma 2, mysql

You can do...

  • See the feed
  • Like / Unlike a photo
  • Comment on a photo
  • Search by user
  • Search by location
  • See user profile
  • See My profile
  • See the full post
  • Follow / unfollow user
  • Edit my profile
  • Create account
  • Log in with passport-jwt
  • Upload a photo
  • Edit the post (delete)
  • Create Account
  • Request Secret
  • Confirm Secret (login)
  • See User like the post or not
  • See one of user follow other user
  • Send private DM
  • Receive DM in realtime using subscription
  • See room
  • see room list
  • Search rooms with terms

Before Start ...

  1. You should make .env file and then copy & paste and fill the blank fill in the blank
PORT=
MAILGUN_API=
MAILGUN_DOMAIN=
JWT_SECRET=
SALT_ROUNDS=
S3_BUCKET=
AWS_ACCESSKEY=
AWS_SECRET=
AWS_REGION=
// when it comes to Mailgun api&domain, you can get this api at https://mailgun.com
  1. commend $ npx prisma init

  2. You can see another .env file at prisma/ folder after executing no.2

    you should copy & paste and fill the blank after reading the annex on that file

  3. npm run prima for migrating db and generating prisma client

Start

npm run build

npm start