Backend software for ATAC bus tracking
- connect to MongoDB container using the following command:
docker exec -it mongo mongo -u root -p password --authenticationDatabase admin
- create a database named atac_db with the command:
use atac_db
- create a new user with the following command:
db.createUser({ user: "user", pwd: "password", roles: [{ role: "readWrite", db: "atac_db" }] })