Bachelor Project 2023 - Software Engineering, University of Southern Denmark
Students:
Rasmus Jacobsen - rasmj20@student.sdu.dk Patrick Andreasen - pandr20@student.sdu.dk
Supervisor: Kamrul Islam Shahin - kish@mmmi.sdu.dk
In collaboration with: BlueKey ApS
Prerequisites: Docker https://www.docker.com/
- IMPORTANT: If testing our source code, ignore this.
If creating your own, replace the .env keys with your own.
DATABASE_URL=<YOUR OWN MONGODB DATABASE>
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<YOUR OWN KEY>
CLERK_SECRET_KEY=<YOUR OWN KEY>
First, spin up the docker-containers with this command:
docker-compose up --build
(If you only want to test the frontend, this will do)
npm run devOpen http://localhost:3000 with your browser to see the result.
- Login with the following credentials:
Username: manager
Password: CoolProgram
- Testing the mqtt broker
- Switch to the mqtt-test-branch
- run the
npm installcommand - run
npx jestto test the test suites of the mqtt client code
When written the frontend of this project is deployed on Vercel, on this link: https://bluekey-notification.vercel.app/
To do it yourself, the easiest way to deploy your Next.js app would be to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.