Skip to content

A RESTful API backend created with Node.js, Express and PostgreSQL, and GCP using JWT for authentication

Notifications You must be signed in to change notification settings

MarkArren/PhotoSocialBackend

Repository files navigation

PhotoSocialBackend

A RESTful api backend created to interact with my frontend created in my Capstone project which replaces the existing Firebase backend. All data is stored in a PostGreSQL database, images/ videos are stored on a Google Cloud Platform Bucket.

Features

  • Sign up/ Log in (JWT, bcrypt)
  • Create posts (Images/ videos upload to a GCP Bucket)
  • Edit/ delete posts
  • Like/ unlike posts
  • Add/ remove your comments
  • Edit profile (avatar, bio, username, name)

TODO Features

Technology

  • Node.js
  • Express.js
  • PostgreSQL
  • Google Coud Platform - Bucket

Auth

POST /signup

POST /login

GET /token

User

GET /{username}

PUT /{username}

DELETE /{username}

Post

GET /post

POST /post

PATCH /post

DELETE /post

Like

GET /post/{post_id}/likes

POST /post/{post_id}/like

DELETE /post/{post_id}/like

Comment

GET /post/{post_id}/comments

POST /post/{post_id}/comment

DELETE /post/{post_id}/comment/{comment_id}

About

A RESTful API backend created with Node.js, Express and PostgreSQL, and GCP using JWT for authentication

Topics

Resources

Stars

Watchers

Forks