This is the official GDG USTP (Google Developer Groups on Campus - University of Science and Technology of Southern Philippines) website. It showcases GDG events, accomplishments, announcements, and other essential information.
To set up the project locally:
git clone git clone https://github.com/GDGustp/USTP-Website.git
cd USTP-Website
npm installRename .env.sample to .env and fill with the appropriate values.
However, If you want to create your own supabase instance, copy and execute all .sql files on /sql directory to supabase sql editor to setup RLS and table policies.
Once the dependencies are installed, start the development server:
bun startThis will launch the website locally at http://localhost:5000/ (or whatever port is set on .env). Any changes made to the source code will trigger a live reload of the site.
For production builds, run:
bun buildThis creates a production-ready version of the website in the build folder.
CMS Admin interface is accessible in /admin endpoint. HERE
The CMS provides a secure admin interface for managing content:
- Event Management: Create, update, and delete events
- Blog Posts: Rich text editor with image upload support
- User Management: Control access levels and permissions
- Dashboard: Overview of content and activities
The application requires the following environment variables to be set in the .env file:
bun dev: Starts the development server.bun build: Builds the production-ready version of the site.bun test: Runs the test suite (if available).bun eject: Ejects the project fromcreate-react-app(use with caution).
src/
│
├── components/ # Reusable UI components (Header, Footer, etc.)
├── pages/ # Page components (Home, News, Events, About Us)
├── admin/ # Admin dashboard components
├── assets/ # Static assets like images, fonts, etc.
├── lib/ # Utilities and configuration
├── contexts/ # React contexts for state management
├── App.js # Main App component with routing setup
└── index.js # Entry point of the application
For detailed API documentation and examples, visit our Postman Collection.
Contributions are welcome! If you'd like to suggest changes, feel free to fork the repository and create a pull request:
- Fork the repository.
- Create a new feature branch (
git checkout -b feature-name). - Commit your changes (
git commit -m 'Add feature'). - Push to the branch (
git push origin feature-name). - Open a pull request on GitHub.
Please refer to the official tracker for additional resources.
This project is licensed under the Attribution-NonCommercial 4.0 International License. See the LICENSE file for more details.