Skip to content

pranavtalwar/ChiSunApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chi Sun College App

This is the repository for the web and mobile apps of Chi Sun College of the University of Hong Kong. They are developed by the Chi Sun Turing Club to provide a one-stop platform for Chi Sun students to gain all information relevant to the college.

How to setup development environment

General

  1. Install Node.js LTS
  2. Install Yarn

Web App

  1. cd web
  2. yarn install

Server

  1. cd server
  2. yarn install

Mobile App

  1. cd mobile
  2. yarn install

How to run

Web App

  1. cd web
  2. yarn start
  3. Visit web app at http://localhost:3000/

Mobile App

1. Start Server

  1. Go to server directory cd server
  2. Run server yarn dev
  3. Open GraphQL Playground at http://localhost:4000/graphql

2. Start App

  1. If you don't have expo installed, install by npm install -g expo-cli
  2. Go to mobile directory cd mobile
  3. Run app expo start
  4. Download Expo mobile app and scan QR code to run the app

How to deploy

Server

  1. git subtree push --prefix server/ https://git.heroku.com/quiet-sea-90084.git master

Web App

  1. Ensure you are in master branch by git branch
  2. Deploy by yarn deploy
  3. Visit web app at http://hkuturingclub.github.io/ChiSunApp

About

One-stop platform for all things Chi Sun College.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • HTML 2.7%