Skip to content

Social Media Backend built with TypeScript, Express and Prisma

Notifications You must be signed in to change notification settings

zainsci/tedit-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEDIT - Social Media CRUD API

A simple social media CRUD API. Kinda like how Twitter where Users Post in Groups.

Frontend part of Tedit is Here!

Stack Used

  1. Express with TypeScript
  2. Prisma ORM
  3. PostgresQL

Tables/Models

  1. Users
  2. Groups
  3. Posts
  4. Comments

What Can It Do?

  1. Register and Login Users
  2. Create and Updating Groups
  3. Creating, Reading, Updating and Deleting Posts
  4. Adding Comments to the Posts

Setting up locally

$ git clone https://www.github.com/zainsci/tedit-api.git
$ cd tedit-api
# Install Dependencies
$ yarn

Setup the following environment variables in the .env file.

# .env
DATABASE_URL="postgresql://<username>:<password>@localhost:5432/<database_name>?schema=public"
JWT_SECRET="<some random characters>"
# Run the server
$ yarn dev

TODO

  • Add Change Password feature
  • Add Comments to Posts
  • Adding Upvotes and Downvotes to Posts
  • Allow Images in Posts
  • Add Comment to other Comments

About

Social Media Backend built with TypeScript, Express and Prisma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published