To run this project:
- Install dependencies
npm install-
Set up environment variables
- Copy
.env.exampleto.env - Fill in your database settings and session secret
- Copy
-
Create the database
- Import or execute
schema.sqlin your MySQL server - Make sure the database name in
.envmatches what you created
- Import or execute
-
Start the app
- For production-style start:
npm start- For development with auto-reload:
npm run dev- Open the app
- The server should run on the port from
.env - By default, that’s
http://localhost:3000
- The server should run on the port from
If you want, I can also help you figure out the exact MySQL setup or check whether the project needs any extra steps before starting.