Skip to content

songvut365/nihon-vocabulary-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nihon Vocabulary Server

Environment (.env)

  • MONGO_URI
  • DATABASE_NAME
  • VOCABULARY_COLLECTION
  • USER_COLLECTION
  • SECRET
  • PORT

Docker

docker build -t nihon-vocabulary .
docker image ls
docker run -d -p 8080:8080 --name nv01 --env-file .\.env nihon-vocabulary

APIs

Authentication

  • Login POST /auth/login
  • Register POST /auth/register
  • Reset Password POST /auth/password

Current User related

  • Show info GET /user
  • Update info PUT /user
  • Change password PUT /user/password
  • Delete account Delete /user

Vocabulary related

  • Create Vocabulary POST /vocabulary
  • Show All Vocabularies GET /vocabulary
  • Show Vocabulary GET /vocabulary/:id
  • Update Vocabulary PUT /vocabulary/:id
  • Delete Vocabulary DELETE /vocabulary/:id

Reference

About

🇯🇵 Server for Nihon Vocabulary, Japanese vocabulary application API

Topics

Resources

Stars

Watchers

Forks