Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanishqmanuja/todos-express-mongo-api
A production ready todos API server with JWT ( Access + Refresh ) token based User Authentication.
https://github.com/tanishqmanuja/todos-express-mongo-api
docker express jwt mongodb mongoose nodejs redis
Last synced: 1 day ago
JSON representation
A production ready todos API server with JWT ( Access + Refresh ) token based User Authentication.
- Host: GitHub
- URL: https://github.com/tanishqmanuja/todos-express-mongo-api
- Owner: tanishqmanuja
- Created: 2023-10-06T10:43:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-24T11:16:55.000Z (4 months ago)
- Last Synced: 2024-11-08T23:54:09.508Z (about 2 months ago)
- Topics: docker, express, jwt, mongodb, mongoose, nodejs, redis
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todos API
A production ready Todos API server with JWT ( Access + Refresh ) token based User Authentication.
### Stack:
- Framework: [Express](https://expressjs.com/)
- Database: [MongoDB](https://www.mongodb.com/) (Primary) + [Redis](https://redis.io/) (Sessions)
- ODM: [Mongoose](https://mongoosejs.com/)
- Validation: [Zod](https://zod.dev/)
- Logging: [Morgan](https://expressjs.com/en/resources/middleware/morgan.html)
- Runtime: [NodeJS](https://nodejs.org/en)### Tooling
- Builder: [ESBuild](https://esbuild.github.io/)
- Formatting: [Prettier](https://prettier.io/)
- Type-Cheking: [TSC](https://www.typescriptlang.org/docs/handbook/compiler-options.html)
- Package Manager: [pnpm](https://pnpm.io/)## Installing Dependencies
```sh
pnpm install
```## Starting the Server
```sh
pnpm start
```## Building the Server
```sh
pnpm build # or pnpm build --production for minified output
```