Skip to content

Our officer admin portal created with React & Typescript

License

Notifications You must be signed in to change notification settings

Brodypen/CougarCS-AdminPortal

 
 

Repository files navigation

CougarCS Admin Portal 💼

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 admin portal for CougarCS. The portal is designed for officers to manage data of the organization.

The portal is built with NextJS and TypeScript. The backend is built using NextJS and Typescript which is connected to Supabase. Supabase acts as a authentication and database provider for the portal. The database used is PostgreSQL and hosted on AWS.


GitHub GitHub issues GitHub last commit GitHub package.json dependency version (prod)

Development 🔨

  • Requirements

  • Installation

    1. npm to install packages
    2. Create an .env in the root (./) directory with the following variables: You can obtain the values for these variables from the Supabase project dashboard.
      NEXT_PUBLIC_SUPABASE_URL="Supabase public url"
      NEXT_PUBLIC_SUPABASE_ANON_KEY="Supabase anonymous key"
    
    1. You're good to go!
  • Scripts

    • npm start : Runs the code normally using next start
    • npm run dev : Starts the development server.
    • npm run build : Builds the application for production usage.
  • Linting/Styling

    • This repo uses ESLint and Prettier to enforce linting and styling rules.
    • npm run lint : Runs ESLint on the codebase.
    • npm run prettier : Runs Prettier on the codebase.
    • npm run prettier:fix : Runs Prettier on the codebase and fixes any issues.
    • We highly suggest using an ESLint and Prettier plugin for your respective editor to aid with development.
    • Enable prettier: require config in settings so you use the .prettierrc file.
  • Structure

    • _app.tsx : This is the root component of the application.
    • ./components : This folder contains all the components used in the application.
    • ./pages : This folder contains all the pages used in the application.
    • ./public : This folder contains all the static files used in the application.
    • ./styles : This folder contains all the styles used in the application.
    • ./types : This folder contains all the types used in the application.
    • ./utils : This folder contains all the utility functions used in the application.
    • ./__tests__: This folder contains all the tests used in the application.

Contributing 🤝

Want to get involved? Get in contact with the CougarCS Webmaster([email protected]) to get involved.

About

Our officer admin portal created with React & Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.0%
  • JavaScript 1.9%
  • CSS 0.1%