npm run devinAetherScan/serverto start backend server @http://localhost:8080/api- Create another tab in your terminal...
npx viteinAetherScan/clientto start frontend server @http://localhost:5173/
You might have to do npm install for dependencies somewhere along the way...
npx knex migrate:latestfromserverdirectory
./scripts/check-schema.jsfromserverdirectory
./scripts/check-table-schema.js <table_name>fromserverdirectory
- Write your script. Use
./scripts/check-schema.jsas a reference. Place it inserver/scripts - Ensure
#!/usr/bin/env nodeis at the top of the file, including the#!. This is a special comment that allows us to not have to typenodebefore our script call - Run
chmod +x <path/to/script_file_name>to make it executable. This is a permanent change (unless we manually change it later) - Done!
npm testfromserverdirectory
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh