https://github.com/hon-nova/postprisma
Post Project is a simple authentication system built with TypeScript, Express.js, and Passport.js using the local strategy for user login. It leverages Prisma with an SQLite database to manage user data securely.
https://github.com/hon-nova/postprisma
ejs-express passport-local prisma prisma-orm sqlite typescript
Last synced: 11 months ago
JSON representation
Post Project is a simple authentication system built with TypeScript, Express.js, and Passport.js using the local strategy for user login. It leverages Prisma with an SQLite database to manage user data securely.
- Host: GitHub
- URL: https://github.com/hon-nova/postprisma
- Owner: hon-nova
- Created: 2024-11-23T01:14:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-24T10:47:45.000Z (about 1 year ago)
- Last Synced: 2025-01-24T16:12:07.299Z (about 1 year ago)
- Topics: ejs-express, passport-local, prisma, prisma-orm, sqlite, typescript
- Language: TypeScript
- Homepage:
- Size: 142 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intro. to Post Project
## Key Features:
### 1. User Authentication with Passport.js
- **Login**: Users log in securely using Passport.js.
### 2. Post Management
- **Create Posts**: Authenticated users can create posts with a title, description, and link.
- **View Posts**: All users can view posts, including creator details.
- **Edit/Delete Posts**: Users can edit or delete their own posts.
### 3. Comment System
- **Add Comments**: Users can comment on posts with backend-validated content.
- **Delete Comments**: Only comment creators can delete their comments.
### 4. Dynamic Error Handling
- **Form Validation**: Input fields for posts and comments are validated, with error messages displayed for invalid submissions.
- **Error Display**: Errors are dynamically shown on the front end for better usability.
### 5. Vote Functionality
- Users can upvote or downvote posts.