██░░██
████░░██
██▓▓██
██░░▓▓██
██░░██░░██
██░░░░████░░██
██░░░░░░████░░░░██
████░░░░░░██░░██░░░░░░████
██░░░░░░░░▓▓██░░██▓▓░░░░░░░░██
██░░░░ ░░░░██░░░░░░██░░░░ ░░██ _ _
██░░░░ ░░░░▓▓██░░ ░░░░██░░░░ ░░██ | (_)
██░░ ░░░░██░░░░ ░░░░▓▓██░░░░ ░░██ __ _ __ _ _ __| |_ ___
██░░ ░░░░▓▓██░░ ░░░░▓▓██▓▓░░ ░░██ / _` |/ _` | '__| | |/ __|
██░░░░░░░░██░░ ░░░░░░░░▓▓██░░░░░░██ | (_| | (_| | | | | | (__
██░░░░▓▓██░░ ░░░░░░░░▓▓██▓▓░░██ \__, |\__,_|_| |_|_|\___|
██▓▓▓▓▓▓██░░░░ ░░░░░░▓▓██▓▓▓▓██ __/ |
██████████░░░░░░░░░░▓▓████████ |___/
- Install node.js and npm, make sure they're on your path.
- Clone the project to your local machine.
- Run
Setup.batin the root directory, this will install the node packages needed for the backend, the frontend, and build the frontend. - Obtain a copy of
databaseCredentials.jsonpinned in the discord for sync-mysql or write your own in, save the file at/source/server/databaseCredentials.json. You also need to @ethan to request he allows your IP through the database firewall. - There are 3 ways to run the application test, run
/tests/Test.bat, run npm test from the package.json in/source/server, or use the vs code taskTest Serverfound in/.vscode/tasks.jsonall of these are just diffrent ways of running/tests/Test.bat. To test with good debuging tools you need the VS code extension for chrome debugging and can then use the launch debugging config provided by/.vscode/launch.json.
- .vscode/ : VS code tools for advanced debug launching and vs code tasks
- trashbin/ : Old files that we may still need to reffrence quickly
- sandbox/ : Sandbox for features and packages we want to test
- source/ : Code for the application
- tests/ : scripts for testing the application
- .gitignore : list of files that shoun't be uploaded to github (api keys, node modules)
- setup.bat : batch script to set up node packages for the backend
- source/client/ : frontend code
- source/client/package.json : frontend packages
- source/client/build/ : compiled frontend files, do not edit these!
- source/client/public/ : frontend page sources and global frontend resources.
- source/client/src/ : frontend page code and react components
- source/server/ : backend code
- source/server/package.json : backend packages
- source/server/server.js : backend entrypoint