nusmodifications / nusmodifications/nusmods

Import serverless functions located in serverless-functions repo

Open
#3,213 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

better engineering
Dominant language
JavaScript
Stars
689
Forks
364
Avg merge
7h 5m
Merged PRs (30d)
14

Description

NUSMods currently uses some serverless functions located at https://github.com/nusmodifications/serverless-functions, which are hosted by stdlib.com. This was necessary in the past as NUSMods had no way to run serverless functions.

However, the serverless landscape has been changing in recent years. Earlier this month, NUSMods moved much of its hosting to Vercel (#3098), and #3212 has added project infrastructure for Vercel Serverless Functions in /website.

As such, although not urgent since everything works, we can look into centralizing all our serverless functions in this repo.

Also see alternative suggestion https://github.com/nusmodifications/nusmods/pull/3212#issuecomment-769470686

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the serverless functions in the linked serverless-functions repository and reading the Vercel project infrastructure added in /website by #3212. Review the alternative suggestion in the linked pull-request comment and define the migration scope; done means the functions are centralized in this repository without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.