Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kiki is a tool for under served member's of the LGBTQIA community filled with articles and information regarding sexual health and well being

Notifications You must be signed in to change notification settings

Kikitheapp/Kikiapp

Repository files navigation

Kikiapp

This is Kikiapp. We are creating an app that curates sexual health resources for the queer community. We are a platform for queer sexual education, for sexual liberation, for knowledge, for power, joy, freedom, and connection.


Project runs on...

Languages and Frameworks:

Tested using:

Hosted by:


Local Development

The Gatsby framework and the NPM package library make it easy to get up and running for local development work.

First, make sure you have Git and Node.js (and therefor NPM) installed.

Next, clone the repository and navigate to the project root using your favorite command line interface (CLI).

Finally, install the necessary packages using npm install, and then launch the project locally using npm start.

Tests

Running Tests

Kiki for the Future uses Jest as a test framework, alongside React Testing Library, as reccomended by the community. Additionally, we use React Test Renderer to create quick and easy snapshot tests used for unit and regression testing React components.

Snapshot Testing

Jest Snapshot tests are used as an easy way to ensure that a UI component has not changed. Snapshots do this by creating a textual representation of the component, saving that to a file, and using that file as a reference the next time the tests are run.

Snapshot files should be commited with the tests that generate them. This will ensure that UI components remain consistent throughout development.

Updating Snapshots

Sometimes changes to the UI component, or the test structure or data, are needed. When this happens, a new snapshot needs to be generated.

To update the project's snapshots, run jest with the --updateSnapshot (or -u) flag:

jest --updateSnapshot

You may recieve an error if you do not have Jest installed globally. The updateSnapshot script package.json shortcut provides a fix for this:

npm run updateSnapshot

Deploying the Project

GitHub Actions and Netlify make it easy to deploy a new version of the project. A pull request to the development branch will run the linter, tests, and build the project. This ensures that the project is always in a deployable state. A pull request to the main branch will start the Netlify deployment process and generate a preview page. This makes it easy to review any changes before making them live! Let's walk through the steps needed to deploy the project.

  1. Before we begin, make sure all the changes to be released are on the development branch. Don't forget to check for any security updates as well!

  2. To start, create a branch for the release. This should be named kikiweb-x.x.x where x.x.x is the version number. On this branch we will:

    • Increment the version number in package.json
    • Test the project and implement any bug fixes.
  3. Once the project is tested and ready for release, merge the release branch into the main branch, as well as back into the development branch to capture any changes made during testing.

    1. Create a pull request from the release branch to the development branch. This is so you do not need to merge main into development.
    2. Create a pull request from the release branch to the main branch. This will trigger the Netlify deployment process and generate a preview page!
  4. Review the preview page and make sure everything looks good. Be sure to double check the new features!

  5. Once the preview page is approved, merge the pull request to the main branch. This will trigger the Netlify deployment process and deploy the new version of the project. Once the process is complete, you will see your updates live on the Kikiapp website!

About

Kiki is a tool for under served member's of the LGBTQIA community filled with articles and information regarding sexual health and well being

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6