Add .env.example with configuration for database, Redis, security, SMTP, workers, and plugins. Add .gitignore for Python, Node.js, Next.js, Docker volumes, and IDE files. Add MIT License. Update README.md with feature overview, quick start guide, architecture description, plugin system documentation, security details, backup/restore instructions, and developer setup. Add Alembic configuration files and placeholder directories for API, web, worker, and plugin components
16 lines
478 B
TypeScript
16 lines
478 B
TypeScript
import { describe, it, expect } from "vitest";
|
|
import { API_BASE_URL } from "@nexadash/shared";
|
|
import { authApi } from "@/lib/api";
|
|
|
|
describe("api client", () => {
|
|
it("exports API_BASE_URL from shared", () => {
|
|
expect(API_BASE_URL).toBeDefined();
|
|
});
|
|
|
|
it("authApi has required methods", () => {
|
|
expect(authApi.setupStatus).toBeInstanceOf(Function);
|
|
expect(authApi.setup).toBeInstanceOf(Function);
|
|
expect(authApi.login).toBeInstanceOf(Function);
|
|
});
|
|
});
|