Skip to content

Dining API to fetch information about CMU dining locations and their availabillity (https://wiki.scottylabs.org/dining)

Notifications You must be signed in to change notification settings

nectarine0/dining-api

 
 

Repository files navigation

Dining API

This Dining API scrapes location data from the CMU dining sites and distributes it as a RESTful API. Access the API here.

To build and deploy the service, you'll need Bun, which you should install beforehand.

Then, clone this repository to your computer by running

git clone https://github.com/ScottyLabs/dining-api.git

after making sure you have git downloaded or running

gh repo clone ScottyLabs/dining-api

if you have the Github CLI.

If you already have the node_modules folder or package-lock.json from previous versions of the Dining API, please remove them before continuing.

Now install the API's dependencies by 'cd'-ing into the root of the repository and running:

bun install

Then, you can run the server with bun start and it should work! You can also use bun run start since bun start is its shorthand version.

Note: To add new dependencies, use bun add dependency-name. To remove dependencies, use bun remove dependency-name. Run bun outdated to see what dependencies are outdated and bun update to update all outdated dependencies to the latest version.

Before submitting a PR

  • Make sure all tests pass with bun run test or bun run test --watch for watch mode.

About

Dining API to fetch information about CMU dining locations and their availabillity (https://wiki.scottylabs.org/dining)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 92.4%
  • TypeScript 7.6%