Giter Site home page Giter Site logo

cougarcs-client's Introduction

CougarCS Client

CougarCS is the largest student-run Computer Science organization at the University of Houston. At CougarCS, our mission is to smoothly transition our inexperienced members into young professionals by the end of their degree and to provide support and assistance to members who struggle academically or who need career guidance.

This is the official CougarCS Frontend. This project is built with React using create-react-app. Want to get involved? Get in contact with the CougarCS Webmaster([email protected]) to get involved.




Build Known Vulnerabilities

Libraries

Getting Started

  • Requirements

    • NodeJS version 12+
    • We use Yarn as our package manager
  • Installation

    • Install dependencies: yarn
    • Start local server: yarn start
    • The local server will start on http://localhost:3000
  • Optional Setup:

    • If you want to test out the payment or the reCAPTCHA, create a .env file in the root project folder. You must clone the CougarCS-Backend for full functionality. Reach out to the CougarCS Webmaster([email protected]) to setup the backend.
    • You must have a Stripe account and Google's reCAPTCHA.
    • In the .env file include these:
    REACT_APP_STRIPE_KEY=<STRIPE_TEST_PUBLISHABLE_KEY>
    REACT_APP_RECAPTCHA_SITE_KEY=<KEY_ID>
    REACT_APP_API_URL=<BACKEND_URL>
    
  • Linting

    • We use ESLint to fix styling and to enforce rules.
    • Run yarn run eslint-check to check linting issues in the code.
    • Run yarn run eslint-fix to auto-lint the code.
    • ESLint runs on Github Action. ESLint must pass before pushing or during a pull request.
  • Testing

    • We use Cypress to do E2E testing
    • To run the tests locally:
      • Start the application locally using yarn start
      • There are two ways you can run the test:
        • Running the test in the command line yarn test
        • Running test using Cypress GUI yarn test:ui
    • The tests are part of the CI/CD pipeline, if the test fails the CI/CD fails
    • Learn more about testing using Cypress
  • Project Structure

    • Static data is in src/data/
    • Images and other assets are in src/assets/
    • The routing is found in src/App.js
    • The src/pages/ directory will have the pages based on the routing.
    • The src/components/ will hold the components that make up the page.

Current Deployment

The site is being deployed to a temporary server via an auto-deploy tool that deploys the build/ folder of this build. Static files are being served at this time only.

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.