https://github.com/theaungmyatmoe/restify
This is start kit for building JWT based RESTful API with Node.js, Express and MongoDB.
https://github.com/theaungmyatmoe/restify
expresss mongodb mongoose mono-repo mvc nodejs rest-api turborepo zod
Last synced: 14 days ago
JSON representation
This is start kit for building JWT based RESTful API with Node.js, Express and MongoDB.
- Host: GitHub
- URL: https://github.com/theaungmyatmoe/restify
- Owner: theaungmyatmoe
- License: mit
- Created: 2023-01-27T10:27:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T19:30:09.000Z (over 3 years ago)
- Last Synced: 2025-02-13T21:26:56.634Z (over 1 year ago)
- Topics: expresss, mongodb, mongoose, mono-repo, mvc, nodejs, rest-api, turborepo, zod
- Language: TypeScript
- Homepage:
- Size: 291 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Restify
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.
## Features
- JWT Authentication (API)
- Session Authentication (Web)
- User Authentication (Full Stack)
## Tech Stack
- [JWT](https://jwt.io)
- [Next](https://nextjs.org)
- [Node.js](https://nodejs.org)
- [MongoDB](https://mongodb.com)
- [SWR](https://swr.vercel.app)
- [Express](https://expressjs.com)
- [Mono Repo](https://trubo.build)
- [Mongoose](https://mongoosejs.com)
- [ESbuild](https://esbuild.github.io)
- [Helmet](https://helmetjs.github.io)
- [Zod](https://www.npmjs.com/package/zod)
- [Bcrypt](https://www.npmjs.com/package/bcrypt)
- [React Hook Form](https://react-hook-form.com)
- [Consola](https://www.npmjs.com/package/consola)
- [Axios](https://www.npmjs.com/package/axios)
- [Cookie Parser](https://www.npmjs.com/package/cookie-parser)
## Architecture
- MVC
- REST
- Mono Repo
## Directory Structure
```
.
├── apps
│ ├── backend
│ │ └── src
│ │ ├── config
│ │ ├── controllers
│ │ ├── middlewares
│ │ ├── models
│ │ ├── routes
│ │ ├── schemas
│ │ ├── services
│ │ └── utils
│ └── client
│ ├── app
│ │ ├── auth
│ │ │ ├── login
│ │ │ └── register
│ │ ├── hooks
│ │ └── utils
│ ├── pages
│ │ └── api
│ └── public
└── packages
└── tsconfig
```
## Installation
```bash
pnpm install
```
## Development
```bash
pnpm dev
```
## Production
```bash
pnpm build
```
## License
[MIT](./LICENSE)