This is the source code for the Massachusetts Coding League website!
- Have
nodejs
. - Clone this repo.
yarn
to install dependencies.- Have
@xata.io/cli@latest
. xata init
.- Pull database types from Xata with
xata pull [BRANCH]
- Copy
.env.sample
to.env.local
and fill out environment variables.
Use yarn run dev
to start a development server.
Pull database types from Xata with xata pull [BRANCH]
.
Before commit, make sure to format, (yarn run format
/ yarn run writeFormat
)
lint, (yarn run lint
/ yarn run writeLint
) and type-check. (yarn run typecheck
)
yarn run build
and yarn run start
.
The Massachusetts Coding League website is currently deployed on Vercel at https://ma-coding-league.vercel.app/.