Thank you for attending the bootcamp! This page contains some instructions and (hopefully useful) hints on the CMUEats development process. Don’t be afraid to ask questions if you are stuck!

  1. Join CMUEats’ Slack channel (#tech-cmueats) in the ScottyLabs Slack. Feel free to also put questions in there.

  2. Create an account on Github. Later, you should also apply to get access to the Github Student Developer Pack.

  3. To start developing, you'll need to download Bun.js, Git, and an IDE (I recommend VSCode). You should also download Github Desktop to make development easier at the beginning. I recommend checking out Learn Git Branching later.

  4. If you followed my IDE recommendation, also download the Prettier VSCode extension.

  5. Any of the following steps where you type something (i.e. git clone…, bun install, etc.) should be done in your IDE’s terminal.

  6. Then, clone this repository to your computer by running git clone <https://github.com/ScottyLabs/cmueats.git> after making sure you have git downloaded or running gh repo clone ScottyLabs/cmueats if you have the Github CLI.

  7. Now use git fetch upstream.

  8. Do the same for the dining API in a new location. This time, replace https://github.com/ScottyLabs/cmueats.gitwith https://github.com/ScottyLabs/dining-api.git and ScottyLabs/cmueats with ScottyLabs/dining-api.

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

  10. Now install the CMUEats dependencies by 'cd'-ing into the root of the location where you cloned CMUEats and running bun install.

  11. Now run the code with bun start and it should work! Just click on the link that appears and you’’ll see the web app. You can also use bun run start since bun start is its shorthand version