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.
-
npm
to install packages- 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"
- You're good to go!
-
npm start
: Runs the code normally using next startnpm run dev
: Starts the development server.npm run build
: Builds the application for production usage.
-
- 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.
-
_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.
Want to get involved? Get in contact with the CougarCS Webmaster(webmaster@cougarcs.com) to get involved.