chaynhq / ysm-backend Goto Github PK
View Code? Open in Web Editor NEWCode for the backend / API of the Your Story Matter (YSM) service
Home Page: https://ysmysm.co/
License: MIT License
Code for the backend / API of the Your Story Matter (YSM) service
Home Page: https://ysmysm.co/
License: MIT License
We need to create PR templates to guide contributors through submitting pull requests on YSM.
Additionally this helps fulfill Community Standards for this repo.
We need to create a CONTRIBUTING.md
file to guide developers contributing to YSM.
Additionally this helps fulfill Community Standards for this repo.
CONTRIBUTING.md
and open a PR.Currently, contributors on YSM cannot obtain a Storyblok token without reaching out to maintainers. We can bypass this by creating a non-production public access token for Storyblok, which can be revoked at any time. This is the only required environment variable that isn't accessible for contributors to create on their own because Storyblok contains the content needed for an accurate view of the front-end.
Note: We have already done this for Bloom: chaynHQ/bloom-frontend#611 (comment)
README.md
Background
Github actions will no longer support node 12 soon. We are trying to upgrade all our applications to node 16 or higher.
Task
upgrade node 16 to a higher a version as possible without affecting other packages. This might not be possible. There might be some packages that aren't compatible with node 16+ so you will need to upgrade them too.
check all the happy paths work
We need to clean up this repo's pull requests, specifically the PRs opened by Dependabot & Snyk, because many are outdated and contain high severity dependency alerts.
Note: there is a workflow from Snyk called security/snyk (chaynteam)
that is required for merging, please bypass this requirement as Snyk has been removed from this repo and can no longer access it.
We need to audit our software tests as we upgrade dependencies to identify and fix potential new bugs, ensure compatibility with newer dependencies, and note of any improvements we can make for contributors (such as documentation). This is not a comprehensive "audit" on testing performance. Additionally, if specific environment variables for testing are required, we need to determine which can/should be public or private for Chayn volunteers only.
Add a CODE_OF_CONDUCT.md
file for contributors to abide by when contributing to YSM.
Additionally this helps fulfill Community Standards for this repo.
We need to remove the security/snyk (chaynteam)
workflow that is required in YSM's pull requests because we switched to Dependabot and Snyk no longer has access to Chayn's GitHub. This will involve some research as I am not sure where the workflow is coming from -- strangely I cannot find it in our workflow code or in the GitHub Actions settings. Snyk has been disabled as an authorized GitHub app in both organizational and repo GitHub settings, and pull requests made after have still required the workflow run.
Here are some starting points for disabling this workflow...
Solution: It's just a branch protection rule, easily removed in settings.
We need to upgrade our node version to 16+ because GitHub actions will no longer support lower versions.
package.json
Dockerfile
Note: This upgrade may require more steps than listed here. We will update this issue accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.