This is a backend for FoundIt website made with golang, go-gin web framework, gorm (Go ORM) and postgresql.
In backend, we have implemented the following routes :
- \signup : It adds the user to the users table.
- \login : It verifies if the specified user is in the table or not and returns http codes accordingly.
- \posts : It fetches all the posts from the posts table.
- \post : It adds the post to the posts table.
- \delete-post : It deletes the specified post from the posts table.