/expressoo

I'm just playing with an express API

Primary LanguageJavaScript

Objetive

This project is oriented to grow my personal knowledge about JS envs and techs

Install

Clone this repository, setup the .env file variables and run:

npm install

Launch API

docker-compose up

npm run dev

API Routes

  • HTTP POST /users — Register users.
  • HTTP POST /users/login — Allow users to login.
  • HTTP GET / users/me — Get user profile.
  • HTTP POST /users/logout — Logout the user.
  • HTTP post /users/logoutall — Logout from all devices.

TODO

  • Testing with Jest