An open API service indexing awesome lists of open source software.

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.

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.