To run this server for production...
git clone https://github.com/589EngineeringExpo/2025-Falkon-Robotics-Engineering-Expo.git expocd expodocker compose up -ddocker ps- Note down the container ID for 2025-falkon-robotics-engineering-expo-main-expo
docker exec -it ID_OF_CONTAINER sh- Replace ID_OF_CONTAINER with the actual ID (i.e docker exec -it 245cf82e29ce sh)npm run generateToken- Copy down the admin token it gives you, and store it securely (It will look something like zzxq0cl6) (random 8 character alphanumeric token)exit
The server will run on port 80
This website was meant to guide guests through the Engineering Expo event.
Made with ❤️ by Falkon Robotics' members.
- Download dependencies
- https://nodejs.org/en/download - Node.js
- https://www.docker.com/products/docker-desktop - Docker (For running MongoDB)
- Download the backend
- Navigate to /
- Run
npm install - Make a duplicate of
.env.example, then rename it to.env - Open
.env, then edit the fields if needed
- Install MongoDB
- Open Docker
- Open the search box, then find
mongodb/mongodb-community-server - Click "pull"
- Go to "images"
- Press the run/start icon next to
mongodb/mongodb-community-server - Under "optional settings", enter a
Container Name - Under "optional settings", input
27017underHost port - Click
run
- (Optional) Install MongoDB Compass
- https://www.mongodb.com/try/download/compass - MongoDB Compass (A way for you to visually see your database and the data inside)
- Click the plus arrow next to "Connections"
- Put
mongodb://localhost:27017/expoinURI - Press "Save"
- Next to the new connection (Default name: localhost:27017), press "Connect"
- Navigate to
expounder the connection
- IMPORTANT
- Generate a temporary admin token via
npm run generateToken