A Product of Campus Experience, Cedarville University
BZ Commendations is a web application built by CSG that allows members of Campus Experience to send commendations to other members. Commendations are a way to encourage and uplift others in the Cedarville Campus Experience Team.
BZ Commendations is built with Next.js, a React framework. Read more about the Next.js project structure here.
- Assets - Graphics and other static files used in the project
- Components - React components used throughout the project (see README)
- Config - Configuration files for the project
- Lib - Utility functions and other shared code (see README)
- Pages - Contains the top-level pages of the application
- Prisma - Prisma database schemas used by the project
- Public - Static files that are served directly by the server
- Styles - Global CSS styles for the project
- Types - TypeScript types used throughout the project
Before you begin, ensure you have the following software installed on your system:
- Node.js
- Yarn
- Doppler CLI
-
Clone the repository:
git clone https://github.com/CreativeSolutionsGroup/bz-commendations.git -
Install dependencies:
yarn install -
Set up doppler CLI (doppler docs):
- run
doppler loginand follow instructions to connect your local machine to CSG's doppler account doppler setup --project bz-commendations --config dev- tells doppler to inject environment variables from thedevconfig of thebz-commendationsproject
- run
-
Start the development server:
yarn devand open http://localhost:3000/ with your browser to see a live preview. The preview will update as you make and save changes to the project files. -
If you need to access the dev database, run
yarn studioto open a local database, view at http://localhost:5555/
If you are working on anything admin-page related, you may add yourself to the admin group in the dev database by running yarn studio. Adding yourself to the admin group will give you access to the admin dashboard.
