Source of truth route list and forwarding to microservices. This is for auth gate in LearnSystem application.
-
Express.js
-
Prisma
-
TypeScript
-
First, copy
.env.examplefile and rename it to.env -
Make your own certificate files(
id_rsa_priv.pem,id_rsa_pub.pem) inside thecertificatesdirectory -
Then, run
npm install -
Then, run
npm run devornpm start
-
POST /api/auth/signin: to sign in with email and password -
POST /api/auth/signup: to sign up with name, email and password -
POST /api/auth/reset-password: to reset password via email -
GET /api/auth/verify: to verify user with jwt token
-
morgan -
winston
passport
express-validatorfor request validation