├── .env.example ├── .gitignore ├── .nodemon.json ├── LICENSE ├── README.md ├── package.json ├── src ├── config.js ├── controllers │ ├── auth.js │ ├── comment.js │ ├── forum.js │ ├── post.js │ ├── upload.js │ └── user.js ├── data │ └── data.js ├── errors │ └── common.js ├── lib │ ├── database.js │ ├── email.js │ ├── forum-post-recommendations.js │ └── server.js ├── main.js ├── middlewares │ ├── error.js │ └── verifyToken.js ├── models │ ├── auth.js │ ├── comment.js │ ├── forum.js │ ├── post.js │ ├── user.js │ └── userActivity.js └── routes │ └── v1 │ ├── auth.js │ ├── comment.js │ ├── forum.js │ ├── post.js │ ├── user.js │ └── v1.js ├── swagger-output.json └── swagger.js /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/.gitignore -------------------------------------------------------------------------------- /.nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/.nodemon.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/package.json -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/config.js -------------------------------------------------------------------------------- /src/controllers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/auth.js -------------------------------------------------------------------------------- /src/controllers/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/comment.js -------------------------------------------------------------------------------- /src/controllers/forum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/forum.js -------------------------------------------------------------------------------- /src/controllers/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/post.js -------------------------------------------------------------------------------- /src/controllers/upload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/upload.js -------------------------------------------------------------------------------- /src/controllers/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/controllers/user.js -------------------------------------------------------------------------------- /src/data/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/data/data.js -------------------------------------------------------------------------------- /src/errors/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/errors/common.js -------------------------------------------------------------------------------- /src/lib/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/lib/database.js -------------------------------------------------------------------------------- /src/lib/email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/lib/email.js -------------------------------------------------------------------------------- /src/lib/forum-post-recommendations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/lib/forum-post-recommendations.js -------------------------------------------------------------------------------- /src/lib/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/lib/server.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/main.js -------------------------------------------------------------------------------- /src/middlewares/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/middlewares/error.js -------------------------------------------------------------------------------- /src/middlewares/verifyToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/middlewares/verifyToken.js -------------------------------------------------------------------------------- /src/models/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/auth.js -------------------------------------------------------------------------------- /src/models/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/comment.js -------------------------------------------------------------------------------- /src/models/forum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/forum.js -------------------------------------------------------------------------------- /src/models/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/post.js -------------------------------------------------------------------------------- /src/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/user.js -------------------------------------------------------------------------------- /src/models/userActivity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/models/userActivity.js -------------------------------------------------------------------------------- /src/routes/v1/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/auth.js -------------------------------------------------------------------------------- /src/routes/v1/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/comment.js -------------------------------------------------------------------------------- /src/routes/v1/forum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/forum.js -------------------------------------------------------------------------------- /src/routes/v1/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/post.js -------------------------------------------------------------------------------- /src/routes/v1/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/user.js -------------------------------------------------------------------------------- /src/routes/v1/v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/src/routes/v1/v1.js -------------------------------------------------------------------------------- /swagger-output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/swagger-output.json -------------------------------------------------------------------------------- /swagger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosyfy/social-media-backend-with-nodejs/HEAD/swagger.js --------------------------------------------------------------------------------