Skip to content

Discover and engage with societies that interest you.

Notifications You must be signed in to change notification settings

gubbin-io/Gubbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

289 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gubbin

Discover and engage with clubs and societies that interest you.

Conventions

1. Enable prettier on VSCode

Do not remove .vscode from repository, and always open Gubbin as a project instead of client or server.
Install the prettier VSCode extension. Install GraphQL for VSCode.

2. Use yarn instead of npm

for example:

yarn add @types/cors

instead of:

npm install @types/cors

3. Use ES6 import instead of commonjs require

for example:

import app from "./app";

export default app;

instead of:

const app = require("./app");

module.exports = app;

4. Do not use var when declaring a variable, use const and let.

5. Use the Angular commit convention when writing commit messages.

The Angular commit convention is specified here.

Use git cz to automate the enforcement of the commit convention. To install git cz gloabally on your computer, run

yarn global add cz-conventional-changelog && echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

After installing git cz, you can replace every use of git commit by git cz or git-cz.

If you are using VS Code, you can install the vscode-commitizen to commit by the Angular convention in VS Code.

You can use conventional-changelog or standard-version to automate change log generation of Angular commit messages.

Instructions

To run the application locally, first you need to clone the repository and install the dependencies.

# clone the repository
git clone https://github.com/gubbin-io/Gubbin.git
cd Gubbin/

# install dependencies for the backend
cd server && yarn install
cd ../

# install dependencies for the frontend
cd client && yarn install
cd ../

After the setup, you can start the app by:

cd client && yarn dev

See server and client for more instructions.

About

Discover and engage with societies that interest you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages