An open API service indexing awesome lists of open source software.

https://github.com/hattorikanto/awesome-store-api


https://github.com/hattorikanto/awesome-store-api

List: awesome-store-api

jwt-authentication nestjs nodejs nodemailer passport-js passport-jwt passport-local postgresql prisma-orm typescript

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Welcome to awesome-store-api πŸ‘‹



Version



Documentation


Maintenance


License: MIT

### 🏠 [Homepage](https://github.com/hattoriKanto/awesome-store-api#readme)

## ✍🏼 Description

The Awesome Store API is a RESTful backend service. It handles everything from user authentication to product management and cart operations. Whether you're building a full-stack shopping app or just vibing with backend APIs, this project’s got your back.

### ✨ Features

- πŸ§‘β€πŸ’» **User Registration & Email Verification:**
New users can register and verify their email via secure JWT tokens - no spam, just security.

- πŸ›‘οΈ **Role-Based Access Control (RBAC):**
Built-in admin and user roles ensure proper access levels. Admins can manage products, users get what they need.

- πŸ“¦ **Product Management:**
Full CRUD support for managing store products - add, update, delete, or just browse.

- πŸ›οΈ **User Carts:**
Every user gets their own cart for adding/removing products and living their best online shopping life.

- πŸ”œ **Orders:** _(Coming Soon)_
Checkout flow and order history are on the roadmap - just not cooked yet 🍳.

## πŸ”‘ Prerequisites

- node >=18.0.0
- npm >=9.0.0

## πŸ§ͺ Technologies

This project is built with a modern Node.js stack focused on scalability, modularity:

- ⚑ **[NestJS](https://nestjs.com/)** - Progressive Node.js framework for building efficient and scalable server-side applications.
- πŸ” **[Passport.js](http://www.passportjs.org/)** with **JWT** & **Local Strategy** - Handles user authentication and role-based access.
- πŸ“¬ **[Nodemailer](https://nodemailer.com/)** - Sends email verifications like a boss.
- 🧠 **[class-validator](https://github.com/typestack/class-validator)** & **[class-transformer](https://github.com/typestack/class-transformer)** - Handles validation and object transformation like magic.
- 🧬 **[Prisma ORM](https://www.prisma.io/)** - Type-safe, next-gen ORM for database access.
- 🐘 **[PostgreSQL](https://www.postgresql.org/)** - Reliable, battle-tested relational database.
- πŸ’» **Postman** - For manual testing of API endpoints and staying sane.
- πŸ“¦ **TypeScript** - For static typing and a better dev experience.

## Endpoints

πŸ”œ **I am working on it** _(Coming Soon)_

## πŸ’ͺ🏼 Install

```sh
npm install
```

## πŸ’» Usage

```sh
npm run start
```

## πŸ‘¦πŸΌ Author

πŸ‘€ **hattoriKanto**

- Github: [@hattoriKanto](https://github.com/hattoriKanto)

## 🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/hattoriKanto/awesome-store-api/issues).

## ⭐️ Show your support

Give a ⭐️ if this project helped you!

## πŸ“ License

Copyright Β© 2025 [hattoriKanto](https://github.com/hattoriKanto).

This project is [MIT](https://github.com/hattoriKanto/awesome-store-api/blob/master/LICENSE) licensed.

---

_This README was generated with ❀️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_