Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kete API

A RESTful backend for a property rental platform, supporting authentication, role-based access control, user and property management, tenant management, and AI-powered features.

Overview

Kete API is a Node.js backend designed to support a property rental platform.

The backend provides RESTful APIs for managing users, properties, tenants, prompts, and stories. It also integrates AI capabilities for generating stories from text prompts or images, as well as content moderation.

The project focuses on building a modular backend with authentication, database integration, API design, and AI service integration.

Features

  • User authentication and authorization
  • JWT-based authentication
  • Role-based access control
  • User management
  • Property management
  • Tenant management
  • RESTful API design
  • MongoDB database integration
  • AI-powered story generation
  • Image-based story generation
  • AI content moderation
  • Swagger API documentation
  • File upload support
  • Environment-based configuration

Tech Stack

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JWT
  • OpenAI API
  • Multer
  • Swagger
  • dotenv
  • bcryptjs
  • Morgan
  • Helmet

Project Structure

kete-api/
├── config/
│   ├── connectDB.js
│   ├── db.config.js
│   └── dns.js
│
├── controllers/
│   ├── ai.controller.js
│   ├── prompts.controller.js
│   ├── stories.controller.js
│   └── users.controller.js
│
├── middleware/
│   └── auth.js
│
├── models/
│   ├── prompt.model.js
│   ├── story.model.js
│   └── user.model.js
│
├── routes/
│   ├── ai.routes.js
│   ├── prompts.routes.js
│   ├── stories.routes.js
│   └── users.routes.js
│
├── utils/
│   ├── cloudModeration.js
│   └── safety.js
│
├── app.js
├── package.json
└── README.md

About

For Kete mobile App

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages