This folder contains the Node.js + TypeScript backend for the NativeSensor app. It provides REST API endpoints for user registration and other features, connecting to a MySQL database (e.g., running in XAMPP).
- User registration endpoint
- MySQL database auto-creation if not present
- TypeScript for type safety
- Install dependencies:
npm install
- Configure your MySQL (XAMPP) credentials in
.env
. - Start the server:
npm run dev
POST /api/register
— Register a new user