Student classroom management server for St. Thomas More (www.stmschoolpa.com)
- Clone this repository -
git clone https://github.com/st-thomas-more/stm-server.git
- Install dependencies -
npm install
- Create a
.env
file in the root directory containing:
MYSQL_USER=YOUR_USER
MYSQL_PASSWORD=YOUR_PASSWORD
MYSQL_HOST=YOUR_HOST_IP
Run the server in development mode - PORT=8080 npm run dev
Run tests including ESLint - npm test
Build the server for production to the dist
folder - npm run build
Start the production server - PORT=8080 npm start