This is a start kit for building JWT based REST API with Node.js, Express and MongoDB which includes user authentication and session based authentication for web apps.
- JWT Authentication (API)
- Session Authentication (Web)
- User Authentication (Full Stack)
- JWT
- Next
- Node.js
- MongoDB
- SWR
- Express
- Mono Repo
- Mongoose
- ESbuild
- Helmet
- Zod
- Bcrypt
- React Hook Form
- Consola
- Axios
- Cookie Parser
- MVC
- REST
- Mono Repo
.
├── apps
│ ├── backend
│ │ └── src
│ │ ├── config
│ │ ├── controllers
│ │ ├── middlewares
│ │ ├── models
│ │ ├── routes
│ │ ├── schemas
│ │ ├── services
│ │ └── utils
│ └── client
│ ├── app
│ │ ├── auth
│ │ │ ├── login
│ │ │ └── register
│ │ ├── hooks
│ │ └── utils
│ ├── pages
│ │ └── api
│ └── public
└── packages
└── tsconfig
pnpm install
pnpm dev
pnpm build