Skip to content

SlavaMelanko/smela-back

Repository files navigation

Backend

Layered monolithic REST API with authentication and RBAC, focused on security and modularity.

Latest Release Build Status Code Quality Code Coverage
dev Ubuntu Codacy codecov
main GitHub Release Ubuntu Codacy codecov

📋 Prerequisites

  • Git version control
  • Docker for running PostgreSQL
  • Bun runtime (latest version)
  • Email service account (Resend for production, Ethereal for development)

🛠️ Build and Run

1. Install dependencies

bun install

2. Environment setup

See .env.example to configure required variables.

3. Database setup

Start the development PostgreSQL container:

bun run db:dev:up

Run all database setup steps at once (generate → migrate → seed):

bun run db:init

Or look at package.json for individual steps.

4. Start development server

bun run dev

Server will start on http://localhost:3000 by default.

🔌 API Endpoints

See Postman collection for detailed API endpoints.

About

Layered monolithic REST API focused on security and modularity

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages