To handle the signup process for the To-Do app, you'll need to create an account in Privy. Follow these instructions:
- Go to privy.io in your web browser.
- Sign up for an account on the Privy platform.
- Provide the required information, such as your name, email address, and password.
- Follow the instructions to complete the account creation process.
- Create an app in Privy, later in this example
App Id
will be needed.
Pusher is used to send messages for database creation status.
To have a database ready to store the To-Do information, you need to create a project in Cedalio Studio. Here's what you need to do:
- Signup in Cedalio Studio
- Create a project and upload the ToDo Schema
- Set your Privy
App ID
, in order to define Privy as the auth provider.
Follow these steps to set up the To-Do app:
- Open the command line and navigate to the root directory of the project.
- Run the following command to install the necessary dependencies:
npm install
- Create a
.env.development
file with the following variables:
- REACT_APP_PRIVY_APP_ID= Privy
App ID
that is going to be used to validate the auth process. - REACT_APP_PUSHER_KEY=781734cca253fc8f602b
- REACT_APP_CEDALIO_DOMAIN=gtw.cedalio.io
- REACT_APP_PROJECT_ID= Cedalio
Project ID
this value is available in the Cedalio Studio
- Then run:
npm start
To learn more about Cedalio, take a look at the following resources:
-
Cedalio - learn about Cedalio Features and Roadmap.
-
Cedalio Docs - learn about Cedalio Architecture and CLI.