Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Dorcas

Dorcas is a web-based counseling platform developed to provide students with a secure and accessible way to communicate with counselors. The system includes features such as appointment scheduling, encrypted messaging, and user authentication.

Visit

Watch


Prerequisites

Before running the project locally, ensure the following software is installed:

  • Node.js (v20 or later recommended)
  • npm
  • Git

Clone the Repository

git clone https://github.com/carleoj/hci-dorcas.git
cd hci-dorcas

Install Dependencies

Install the project dependencies.

npm install

If the project contains separate frontend and backend directories, install the dependencies inside each directory as well.

Example:

cd client
npm install

cd ../server
npm install

Environment Variables

Create the required environment variable files before starting the application.

Example:

.env

Add the environment variables required by your local development environment.

Note: This repository does not include sensitive credentials. Never commit API keys, database credentials, secrets, or tokens to version control.


Run the Application

Start the Backend

npm run dev

or

npm start

Start the Frontend

Open another terminal and run:

npm run dev

The frontend development server will display a local URL (typically http://localhost:5173 when using Vite).


Building for Production

npm run build

To preview the production build:

npm run preview

Troubleshooting

Dependencies fail to install

Delete the existing dependencies and reinstall.

rm -rf node_modules
rm package-lock.json
npm install

On Windows:

rmdir /s node_modules
del package-lock.json
npm install

Port Already in Use

Ensure no other application is using the configured development ports before starting the project.

Environment Variables Not Loading

  • Verify the .env file exists.
  • Restart the development server after making changes.
  • Confirm all required variables are defined.

Notes

  • This project is intended for local development and educational purposes.
  • Sensitive configuration values should be stored only in local environment files and must not be committed to the repository.
  • If contributing to the project, follow standard Git practices by creating feature branches and submitting pull requests.

About

My Project in CS 034 - Human-Computer Interaction. App Name: Dorcas - An Online Counseling App

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages