Course creation
Process
Secure the code base - https://github.com/j143/openmined
Find a development environment
Mentally be prepared for the quantum of time required to complete this project
Components - Sanity CMS - yarn - Firebase
Know the components may not work out-of-the box
The course content is not yet created.
Checklist

Course content - https://github.com/OpenMined/openmined/blob/dev/apps/courses-e2e/src/integration/courses.spec.ts#L96

Auxiliary tools
Configuration
.local.env
.env
Goto https://console.firebase.google.com/project/onevara-courses/settings/general Create a web app to receive the following credentials.
Database creation

Code
Sanity
sanity.json
yarn start sanity-api
Update projectId to x6ltnsla.

Sanity import data
.https://www.sanity.io/docs/importing-data
Course content schema

Sanity errors
yarn build firebase-api

Firebase
firebase.json
name
Type of entity
onevara-courses
Organization name
onevara-courses-dev
Organization name
onevara-education
App nickname
onevara-education-dev
App nickname
yarn test firebase-api
.https://firebase.google.com/docs/cli#the_firebasejson_file
.https://firebase.google.com/docs/cli/targets#configure_your_firebasejson_file_to_use_deploy_targets
.https://firebase.google.com/docs/functions/manage-functions#deploy_functions
Region

Firebase deployment
Change the .env credentials to that of .local.env still the same error
Based on the error message https://console.firebase.google.com/project/onevara-courses-dev/firestore/ has been created in us-central.

Collection

Nodejs API
.https://googleapis.dev/nodejs/firestore/latest/DocumentReference.html
Cypress


Billing
.https://console.firebase.google.com/project/onevara-courses/usage/details

Errors
1 Uncaught TypeError
2 React will try to recreate this component tree
from scratch using the error boundary you provided, ErrorBoundary. logCapturedError @ vendor.js:120927
3 Can't perform a React state update
4 Signup or signin error

This is due to development server using .local.env and pinging with development projectId.
5 Sanity is not yet connected
data received from
is
6 Property '_path' does not exist on type ' '
Possible solution could be https://firebase.google.com/docs/functions/beta-v1-diff
Errors2
.https://github.com/sanity-io/design/blob/next/CONTRIBUTING.md
yarn dev:docs
An error occured while attempting to reach the Sanity API.
Unable to build sanity ui project documentation
Lint
.https://eslint.org/docs/user-guide/getting-started
.https://eslint.org/docs/user-guide/configuring/
Updates
Add seed data to firestore firebase
Resources. how do I seed data to firebase firestore
Check that queries are functioning as intended.
Keep the fork up to date with the OS repository
TODO
Create design tutorials, and courses
make sanity work
Last updated
Was this helpful?