QueueSmart is a smart queue management application for services such as advising offices, help desks, clinics, and student support centers. The app allows users to view available services, join or leave queues, and track their queue status. Administrators can manage services, view queue activity, and serve users.
- React
- CSS
- Node.js
- Express.js
- MongoDB
- Supertest
The backend/Database connection requires a .env file inside the server folder.
Inside it, include the following:
MONGO_URI=mongodb_connection_string
MONGO_TEST_URI=mongodb_test_connection_string
PORT=5050MONGO_URI is used to connect the server to the database.
MONGO_TEST_URI is used for connecting to the test database and running automated backend tests.
From the project root:
npm install
npm run devOpen the URL shown in the terminal.
To build the frontend:
npm run buildTo preview the production build:
npm run previewFrom the project root:
cd server
npm install
npm run devOpen the URL shown in the terminal.
Open two terminals.
In the first terminal, start the backend server
cd server
npm run devStart the frontend in the second terminal
npm run devOpen the URL shown in the terminal.
To run API/validation tests, enter the server directory and run the test script:
cd server
npm testTo run tests with coverage:
npm run test:coverage