좋아하는 연예인의 사진/움짤을 올려 공유할 수 있는 사이트입니다.
- 이동주, routes/user.js => https://github.com/DZOOOOO
- 장현광, routes/post.js => https://github.com/Hyeon-Gwang
- 황성원, routes/posts.js => https://github.com/Magiof
root
└ config
└ config.js
└ middlewares
└ auth-middleware.js
└ migrations
└ models
└ index.js
└ post.js
└ tag.js
└ user.js
└ routes
└ post.js
└ posts.js
└ user.js
└ seeders
└ .gitignore
└ app.js
└ package-lock.json
└ package.json
- auth using
JWT
- local image upload with
multer
/ aws s3 image upload withmulterS3
- writing post with
title
,image
,tags
like(좋아요)
post- getting
whole posts
,liked posts
,posts with specific tag
- searching posts with
keyword
- deploy using aws
ec2
1. npm install
2. create .env
3. 2 ways for image upload => local upload & aws s3 upload => check out in routes/post.js => select one
4. development: npm run dev
5. production: npm run start(using pm2)