Skip to content

webcooltz/course-management-api

Repository files navigation

cse341-course-management

A course management system for our CSE 341 BYUI class.

Setup

  • get the repo downloaded
  • make a .env file and include the contents ACCESS_TOKEN_SECRET and CONNECTION_STRING
  • run npm i from the root directory to download the packages
  • run npm run start-dev to run the dev environment

Committing

  • pull changes first
  • make changes
  • fix merge conflicts (ask team members)
  • run swagger (npm run swagger)
  • test locally to make sure it works
  • commit and push

Testing

  • Run npm test
  • It pulls tests from the spec folder

Making this your own repo

  • Fork the repo to get your own copy you can use
  • Make sure you hook it up to your own MongoDB and Render