Skip to content

Voidware-Prohibited/targetvector-api-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Aspira

Build Status GitHub last commit GitHub issues GitHub pull requests MIT License

Become a Sponsor Become a Patron X (formerly Twitter) Follow

Anima + Aura. A Fullstack API with Management Dashboard focused on Performance, Scalability and Modularity.

✨ Features

  • Docker - Lightweight and Ready to deploy.
  • TypeScript - Full type safety and better developer experience
  • pnpm - Performant package management focused on minimal package size and resources
  • Node - a cross-platform, open-source JavaScript runtime environment.
  • Passport.js - flexible and modular authentication middleware.
  • ESLint, Prettier, Husky and Lint-Staged - Automated Code Quality and Beautification.

πŸ”€ Versions

Two implementation branches

Archon - Dedicated Server API and Management Framework

Aevus - Master Server API and Management Framework

aspira
β”œβ”€β”€-archon
    β”œβ”€β”€archon-edge
β”œβ”€β”€-aevus
    β”œβ”€β”€aevus-edge

πŸ“š Frontend

  • React 19 - Latest React version with modern features.
  • React Router v7 - File-based routing with nested layouts
  • TypeScript - Full type safety and better developer experience
  • TanStack Query - Powerful data fetching and state management
  • shadcn/ui - Beautiful and accessible UI components
  • Tailwind CSS v4 - Modern utility-first CSS framework
  • OAuth2 - Service-based Authentication Strategies.
  • il8n - a powerful internationalization framework
  • Vite - Fast build tool and development server.
  • Vitest - Next generation testing framework powered by Vite.

πŸ“š Backend

  • Express.js - a minimal and flexible Node.js web application framework.
  • MikroORM/Postgres - TypeScript ORM for Node.js.
  • Axios - Promise based HTTP client for the browser and node.js.
  • HMAC - Cryptographically secured API transactions.
  • Vitest - Next generation testing framework powered by Vite.

πŸš€ Quick Start

  1. Connect to Database

Create '.env' file

In the root of the project, create a file named .env and define the necessary environment variables for your database connection. For example:

DB_DRIVER=postgresql
DB_HOST=localhost
DB_PORT=5432
DB_USER=your_user
DB_PASSWORD=your_password
DB_NAME=your_database_name
  1. Setup OAuth

Install API Secrets

Start Backend

   cd server
   pnpm run dev

Start Frontend

   cd client
   pnpm run dev

Setup Endpoints

Open your browser

http://localhost:5173

πŸ“ Project Structure

Dockerfile
setup.sh
setup.bat
client/
β”œβ”€β”€src/
    β”œβ”€β”€ components/         # Reusable UI components
    β”‚   β”œβ”€β”€ app-sidebar/    # Sidebar navigation components
    β”‚   └── ui/             # shadcn/ui components
    β”œβ”€β”€ hooks/              # Custom React hooks
    β”œβ”€β”€ lib/                # Utility functions and configs
    β”œβ”€β”€ routes/             # Route components and layouts
    └── styles/             # Global styles and CSS
server/
β”œβ”€β”€src/
    β”œβ”€β”€ routes/             # API Routes

πŸ”§ Available Scripts

  • pnpm run dev - Start development server
  • pnpm run build - Build for production
  • pnpm run preview - Preview production build
  • pnpm run lint - Run ESLint

🎨 Customization

πŸ“„ License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages