You may need a personal or society's account for
- Microsoft Azure (please note that the school account (1155xxxxxx@link.cuhk.edu.hk) is not applicable)
- Heroku
- Github
- Fork this repository
- On Heroku, create a new app with a custom name, choose the region United States

- Goto
https://your-app-name.herokuapp.com(remember to replace with your app name) to test the deployment - If successful, you will be at the
Initialise Client keyspage
-
- Open Azure on another window, make sure the language is English

- Search
App registrations
- Click
New registration
- Setup the display name for your application

- Choose
Accounts in any organizational directory (Any Azure AD directory - Multitenant)forSupported account types - At
Redirect URIinserthttps://your-app-name.herokuapp.com/api/login(remember to replace with your app name)
- Click
Register - Copy
Application (client) IDand paste it onto theClient IDfield on theInitialise Client keyspage

- On the Azure's page, find and go to
Certificates & secretson the left panel
- Go to section
Client secretsand clickNew client secrets
- Input a custom description and choose the exire time as
Never
- Click
Add - Copy the
Valueand paste it onto theClient Secretfield on theInitialise Client keyspage

- Click the
Initialisebutton on theInitialise Client keyspage
- Open Azure on another window, make sure the language is English
- Login with your CUHK link account
- Accept the permission request if applicable

- Set yourself as an executive by inputing your nickname and position

- Import members and setup other admins
- Done
- Install
postgresql,node.jsandyarn - Put a
.envfile in root following the variables in.env.example - Run
yarn installto install all dependencies - Run
yarn newdbset up the database - Run
yarn releaseto generate sync the database and generate jwt secret - Run
yarn devto start the server
- Soc-admin
- Database: Sequelize / Umzug
- Backend: Graphql / Apollo Server
- Frontend: Apollo Client / Next / React / react-bulma-components / Bulma
- Miscellaneous: Axios / Typescript / Jest








