Giter VIP home page Giter VIP logo

cm-core's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar j-koziel avatar judedavis1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cm-core's Issues

CI/CD: need a DEV .env.secret file for github actions to run integration tests

Find a way to set environment variables in the integration/e2e test workflow for GitHub actions. These will contain sample secrets.

Research: to set private keys etc., find a way to store a .env.secret or the like. So that we can do e2e tests.

For integration tests, we could (whenever we use API keys, secrets, etc.) mock external API requests. E2E tests may need the actual keys. TBD.

Display local congregations

  • Create an initial form for entering a location
  • Create correct backend call and nice data display
  • Display nearby congregations + phone number

Integration tests

Integration tests for our MOST important CRUD actions in our backend.

Some include:

  • Congregation
  • User

Can write one for tokens after a TBD.

Create a footer

Also not an urgent task as of yet... feel free to assign yourself if you're up to it.

Create simple, functioning frontend

  • Create next.js project
  • Install shadcn
  • Create simple prototype design (can be in figma or just some quick stuff cooked in next, spiced with shadcn :) )

Verify associated phone number with congregation

The associated phone number with the congregation needs verification. Either by text message or call (there are services that support this). For now, write infrastructure around this for DEV and dummy data. We can look into the actual text messages later.

restart the frontend

I'm going to restart making the frontend because I think i made some errors when configuring next/shadcn so instead of trying to manually fix it, I'll save time by redoing it ๐Ÿ‘

Define project architecture

Just define a simple project architecture. I think it would be a good idea to make use of the wiki page as we can nicely organise and document stuff :)

Get phone numbers from congs api

Investigate how to obtain a phone number for a congregation.

Tasks:

  • Research JW.ORG 'weekly-meetings' API
  • Add phone number to cong data model

FE: NextUI error (tailwind config)

Error on bun dev:

error Unable to parse color from string: hsl(var(--background))
error Unable to parse color from string: hsl(var(--foreground))
error Unable to parse color from string: hsl(var(--primary-foreground))
error Unable to parse color from string: hsl(var(--primary))
error Unable to parse color from string: hsl(var(--secondary-foreground))
error Unable to parse color from string: hsl(var(--secondary))
error Unable to parse color from string: hsl(var(--background))
error Unable to parse color from string: hsl(var(--foreground))
error Unable to parse color from string: hsl(var(--primary-foreground))
error Unable to parse color from string: hsl(var(--primary))
error Unable to parse color from string: hsl(var(--secondary-foreground))
error Unable to parse color from string: hsl(var(--secondary))

This is not a blocker, so can be looked at later.

Unit tests

Write some unit tests for the backend + frontend

Complete create-token endpoint

The VERIFIED ADMIN will generate a string of numbers (5 digits) for a user(s) to join the congregation.

  • Create the create-token endpoint.
  • Write integration tests that cover creation of the token, and verification of the token.

BE: required CRUD actions for congregations

At the moment, need a CREATE action for a congregation model. When an admin selects a local congregation, it should get sent to the backend, then get created in the database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.