Nestjs social media restful api example
# Download this project
git clone https://github.com/recepkefelii/social-media
# Build and Run
cd ./social-media
npm install
# API Endpoint : http://localhost:8000/api/
POST
: Create a new account
POST
: Login account
GET
: fetch user information
POST
: Update user profile photo
POST
: Create new post
PATCH
: Update post by id
DELETE
: Delete post by id
GET
: Fetch all posts
GET
: Fetch Post by username
GET
: Fetch the user's followers
GET
: Fetch the user's following
GET
: Follow user by id
GET
: Unfollow user by id
- Support basic REST APIs.
- Support Authentication with user for securing the APIs.
- Write the tests for all APIs.
- Detailed documentation will be created