A simple social media CRUD API. Kinda like how Twitter where Users Post in Groups.
Frontend part of Tedit is Here!
- Express with TypeScript
- Prisma ORM
- PostgresQL
- Users
- Groups
- Posts
- Comments
- Register and Login Users
- Create and Updating Groups
- Creating, Reading, Updating and Deleting Posts
- Adding Comments to the Posts
$ 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
- Add Change Password feature
- Add Comments to Posts
- Adding Upvotes and Downvotes to Posts
- Allow Images in Posts
- Add Comment to other Comments