Registry / devops / spas-app

spas-app

JSON →
library1.0.6jsnpmunverified

A React boilerplate for building single-page applications with MySQL and Sequelize ORM. Version 1.0.6 is the latest (and possibly only) release. It includes tools like AOS for animations, Radium for inline styles, React-Bootstrap for UI components, and React-Page-Scroller for page-like scrolling. The project is outdated and poorly maintained, using Create React App and lacking modern practices like TypeScript or proper testing. It requires manual MySQL setup and global installation of mysql. Key differentiators: pre-configured Sequelize models and seeds, but the project is largely a personal boilerplate with minimal documentation and no active development.

npm install spas-app
INSTALL
IMPORT
SIG · SPAS-APP
S
spas-app
devopsjavascriptv1.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SPAS
✓ import SPAS from 'spas-app'
✗ const SPAS = require('spas-app')
Default export of the entire app, but it is not a library; it's a boilerplate. After install, you typically don't import from the package but run the project as a standalone app.

Shows how to set up the SPAS boilerplate: install dependencies, configure MySQL, run schema and seeds, then start the development servers.

// This package is a boilerplate, not a library. To use, clone or install, then configure: // 1. Install dependencies: npm install (uses package.json) // 2. Configure MySQL connection in server/config.js with your password. // 3. Run schema: mysql -u root -p < server/schema.sql // 4. Seed database: mysql -u root -p < server/seeds.sql // 5. Start both servers: yarn start (runs react and mysql server via concurrently)
Debug
Known issues
gotchaPackage requires global MySQL installation and manual schema/seeds setup. No automated database migration.
fix
Install MySQL globally ('npm install -g mysql') and run schema.sql manually.
affects: >=1.0.0
deprecatedBuilt on Create React App which is deprecated. No updates since 2018.
fix
Consider migrating to modern Vite or Next.js setup.
affects: >=1.0.0
breakingThe config file expects a plain password in plaintext; no support for environment variables.
fix
Add dotenv and use process.env.DB_PASSWORD instead of hardcoded password.
affects: >=1.0.0
gotchaInstructions refer to 'sequelive' instead of 'sequelize' and missing 'npm i -S' may not install all deps.
fix
Run 'npm install' in both root and client directories. Manually check package.json for all dependencies.
affects: >=1.0.0
Errors
Common errors & fixes
mysql: command not found
MySQL client is not installed globally or not in PATH.
fix
Install MySQL globally: 'npm install -g mysql' or use your system package manager.
Error: Cannot find module 'sequelize'
Dependencies not installed correctly.
fix
Run 'npm install' in the project root directory to install all dependencies.
Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server
MySQL 8+ uses caching_sha2_password by default, not supported by older mysql2.
fix
Run: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; or update mysql2 version.
Upgrade
Version history
1.0.6latest on npm
Audit
Dependencies
sequelizerequiredORM for MySQL database interactions
mysql2requiredMySQL database driver required by sequelize
aosrequiredAnimation library used for scroll animations
radiumrequiredInline CSS library for hover and media queries
react-bootstraprequiredUI component library for styling
react-page-scrollerrequiredEnables page-like scrolling between sections
Agent activity
10 hits · last 30 days
node
8
Resources
spas-app — npm install spas-app · libregistry