Skip to content

Latest commit

 

History

History

prisma

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This example showcases the usage of Wildcard and Photon with database types used directly in the frontend code!

Photon automatically generates types for the data model Post which we use on the frontend:

We share the types with the frontend by using Wildcard's TypeScript support.

To run the example:

  1. Install dependencies.
yarn
  1. Build the frontend and start the server.
yarn start
  1. Go to http://localhost:3000.