clone instagram using grqphql-yoga, prisma 2, mysql
- 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
- 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
-
commend
$ npx prisma init
-
You can see another
.env
file atprisma/
folder after executing no.2you should copy & paste and fill the blank after reading the annex on that file
-
npm run prima
for migrating db and generating prisma client
npm run build
npm start