Skip to content

This is a repo that contains simple demonstration of working with API CRUD in flutter and MVVM pattern, the API is build with nestjs and Mongo as the DB provider.

Notifications You must be signed in to change notification settings

nrprosper/flutter-nestjs-cloudinary-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

NestJS + Flutter Monorepo

A learning project to explore API development using NestJS, image uploads with Cloudinary, and building a Flutter app that consumes the API.

This is not an e-commerce app — the purpose of this project is to practice full-stack development with image handling and CRUD operations.


🛠️ Tech Stack

Backend

  • Framework: NestJS
  • Database: MongoDB (via Mongoose)
  • Image Upload: Cloudinary
  • API Features:
    • Products CRUD
    • Categories CRUD
    • Image upload & management

Frontend

  • Framework: Flutter
  • Purpose: Consume the API and display products & categories

Environment Variables

Both apps require environment variables to work correctly. Each subproject has its own .env.example file with the required keys.

Backend .env example:

# Development MongoDB URI
MONGO_URI=your_local_mongo_uri

# Production MongoDB URI (e.g. MongoDB Atlas)
MONGO_URI_PROD=your_mongo_atlas_uri

# Cloudinary credentials
CLOUDINARY_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret

About

This is a repo that contains simple demonstration of working with API CRUD in flutter and MVVM pattern, the API is build with nestjs and Mongo as the DB provider.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published