This repository contains the frontend and backend implementations for our Course Explorer application, which takes datasets containing course and section information and produces visualizations and querying options.
- Frontend made using Next.js and Shadcn
- Backend made using Node.js and Express.js
- In root, run CLI
yarn install
- Within frontend directory, run CLI
yarn install
- Start backend by going to root and running CLI
yarn start
- Start frontend by going to frontend directory and running CLI
yarn run dev
Other CLI commands:
-
yarn install
to download the packages specified in your project's package.json to the node_modules directory. -
yarn build
to compile your project. You must run this command after making changes to your TypeScript files. If it does not build locally, AutoTest will not be able to build it. This will also run formatting and linting, so make sure to fix those errors too! -
yarn test
to run the test suite.- To run with coverage, run
yarn cover
- To run with coverage, run
-
yarn prettier:fix
to format your project code. -
yarn lint:check
to see lint errors in your project code. You may be able to fix some of them using theyarn lint:fix
command.
If you are curious, some of these commands are actually shortcuts defined in package.json -> scripts.