- MONGO_URI
- DATABASE_NAME
- VOCABULARY_COLLECTION
- USER_COLLECTION
- SECRET
- PORT
docker build -t nihon-vocabulary .
docker image ls
docker run -d -p 8080:8080 --name nv01 --env-file .\.env nihon-vocabulary
- Login
POST /auth/login
- Register
POST /auth/register
- Reset Password
POST /auth/password
- Show info
GET /user
- Update info
PUT /user
- Change password
PUT /user/password
- Delete account
Delete /user
- Create Vocabulary
POST /vocabulary
- Show All Vocabularies
GET /vocabulary
- Show Vocabulary
GET /vocabulary/:id
- Update Vocabulary
PUT /vocabulary/:id
- Delete Vocabulary
DELETE /vocabulary/:id