Skip to content

tifa2UP/sjsumsa.org

Repository files navigation

SJSU MSA's website

Assalamulaikum, this repo contains the source code for sjsumsa.org

Stack

  • React.js
  • Material-UI
  • Firebase
  • Webpack
  • Babel

Other items and their corresponding version numbers could be found in 'package.json'

Design:

The website implements Google's material design. You can read more about it here

Reporting an issue

If you find a bug or would like to add a suggestion/feature, you can do it using Github Issues.

Firebase access

The API keys for firebase are masked. If you'd like to access firebase for debugging or deployment purposes shoot us an email at [email protected]

The API keys are no longer masked, firebase is now programmed to check the URL of the website the request it is sent it from, it needs to match sjsumsa.org. There's no longer a security vulnerability

React Tutorial

This is a very nice guide to get you started with React: https://github.com/petehunt/react-howto

Let me know if you have any questions!

Installation instructions

  1. Clone or Fork the repo
  2. Make sure that you have a recent version of npm installed. If not, you can download it from http://npm.org
  3. Open the terminal and cd to your project directory
  4. Type npm install to install all the dependencies
  5. Type npm start to run a local server
  6. You access the website on http://localhost:3000/

Build & Deployment Instructions

  1. Type npm run build to create a build folder from your source code.
  2. Set-up / Gain access to a firebase project. Learn more about the process here: https://firebase.google.com/docs/web/setup
  3. Type firebase deploy to deploy the website. (Typically takes ~1 minute for the changes to be live)

Architecture

The website built as a single page application:

www/index.html contains the HTML file in which the app is appended to. Include in this file all the meta tags, open graph attributes and cdns

The react application is appended to the app id in the index file.

Main.js contains all the Components used by the website. You can overwrite the default palette by changing the MUI-Theme variable

You'll find each of the components in the app directory

License

We made our license MIT. Feel free to use the source code in anyway you want. ;)

Questions

If you have any questions, we'd be happy to answer it! send us an email at [email protected]

Releases

No releases published

Packages

No packages published