Lab project for typescript express
To run the MongoDB instance run
docker-composer up -d
Run the development env
cd api
npm install
npm run dev
The server will serve at http://localhost:8000
use authy;
db.createUser({
user: "authy",
pwd: "abcd1234",
roles: [
{ role: "readWrite", db: "authy" }
]
});
use authytest;
db.createUser({
user: "authy",
pwd: "abcd1234",
roles: [
{ role: "readWrite", db: "authytest" }
]
})