To run app in dev mode:
yarn dev
Exercise
-
Setup an echo route.
/echoshould return whatever I POST in the body of the HTTP request -
Setup
/signuproute and controller -
Setup
/signinroute and controller -
Setup protected route
/methrough a protect middleware to lock down API routes