Skip to content

Created the database and API's - #8

Open
DheerajShrivastav wants to merge 10 commits into
basic-frontend-structurefrom
backend
Open

Created the database and API's#8
DheerajShrivastav wants to merge 10 commits into
basic-frontend-structurefrom
backend

Conversation

@DheerajShrivastav

Copy link
Copy Markdown
Collaborator

Created the database schema and api's related to event, ticket-validation, and ticketTypes as mentioned in https://gist.github.com/DheerajShrivastav/861fe84d11a22c180aea31a852f24525.
Here are the API test cases (used Postman) to test the API.
https://.postman.co/workspace/My-Workspace~d02e4850-4ec6-48e5-8b03-87770a7e0b0d/collection/29560591-6f61edea-7137-4575-89cb-8295c7286222?action=share&creator=29560591

Sets up Prisma ORM for database interactions.

Introduces Prisma schema with Event, TicketType, and TicketValidation models.
Also adds prisma client and type definitions to the project.

Adds zod schemas for data validation.

Ignores prisma migrations folder.
Adds the ability to specify a market address when creating and updating events.

This allows for tracking and managing secondary sales through a dedicated market contract.
- Implemented a new page for generating QR codes with sample data.
- Created a scanning page using html5-qrcode for ticket validation.
- Added utility functions for generating QR code data and images.
- Updated package.json and package-lock.json to include necessary dependencies (html5-qrcode, qrcode).
- Enhanced user interface for scanning and validation results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant