A centralized hub for research-related resources, guidelines, and information
Copy the .env
file into your local project root directory. It will be pinned in our group chat.
Run the following command in Terminal:
$ npm install
Once the node modules are installed, you can now run the dev
script to launch the web app locally:
$ npm run dev
Please do not skip over this section.
- Please remember to work in your own dev branch.
-
We use ES6 modules.
import { express } from 'express'
is correct.const express = require('express')
is incorrect.
-
We follow the Standard code style.
npm run standard
will automatically format your code.- Semicolons are omitted.
- Tabs are 2 spaces.
- Single quotes for strings.
- Etc.
-
We primarily use
rem
units.1px
=0.0625rem
- Exception may be made for
px
font sizes. - And also
%
for relative sizing.
-
Use
var()
for consistency.