A web app to organize shared rides.
git clone git@github.com:Mexx77/ridesharing.git
cd ridesharing
docker build -t ridesharing .
PORT=8080
MONGO_HOST=
MONGO_USERNAME=
MONGO_PW=
JWT_SECRET=
docker run \
-p $PORT:$PORT \
-e ENVIRONMENT=prod \
-e PORT=$PORT \
-e MONGO_PW=$MONGO_PW \
-e MONGO_USERNAME=$MONGO_USERNAME \
-e MONGO_HOST=$MONGO_HOST \
-e JWT_SECRET=$JWT_SECRET \
--name ridesharing \
--rm \
ridesharing
{
"username": 1
}
{ unique: true, partialFilterExpression: { username: { $exists: true } } }