- copy .env.example create .env (mv .env.example .env)
- start db: docker compose up -d
- install package: npm install
- npx prisma init
- npx prisma generate && npx prisma migrate dev --name init
- start : npm run dev
register : http://localhost:3000/api/auth/register {username, email, password} login : http://localhost:3000/api/auth/login {email, password} refresh token : http://localhost:3000/api/auth/lrefresh-token body {'refreshToken' : 'refreshToken from login'}
CRUD: Product : http://localhost:3000/api/products header Authorization Bearer JWT