Welcome to the Simple FastAPI-based Social Media API! This API provides a straightforward way to perform CRUD (Create, Read, Update, Delete) operations on posts, with user authentication for added security. It also includes functionality for handling votes.
To access the API, users are required to authenticate. This can be done through the following endpoints:
- Login: https://simple-api-wtol.onrender.com/login
- Signup: https://simple-api-wtol.onrender.com/signup
Endpoint: https://simple-api-wtol.onrender.com/posts
Retrieve a list of all posts.
Endpoint: https://simple-api-wtol.onrender.com/posts
Create a new post. Requires authentication.
Endpoint: https://simple-api-wtol.onrender.com/posts/id
Perform operations (Update, Delete, Read) on a specific post identified by its unique ID. Authentication is required.
Endpoint: https://simple-api-wtol.onrender.com/votes
Handle votes for posts. Requires authentication.
For detailed information on how to use each endpoint, refer to the API Documentation.
this api is a simple api and might have some continue development