-
Notifications
You must be signed in to change notification settings - Fork 0
Server
NOTE - all of these instructions are for local deployment, please visit the deployment page for all details regarding deployment development
All code for the server can be found within the folder TeamUp/server
The driving file for the server is app.js which sets up the database connection, sets up all necessary routes and starts the server
-
Create a config.env file that contains 3 environment variables - TOKEN, GMAIL_PASS, GMAIL_USER. The values for these variables can be retrieved through the professor, as they are confidential to developers of the project.
-
Ensure you are in the directory
server, runnpm installto install all necessary dependencies
Ensuring you are in the server directory, you can now run npm start and the server should have launched on port 8082.
Date - 04/2023