-
Notifications
You must be signed in to change notification settings - Fork 1
Windows Installation
- Node.JS (LTS Version Recommended)
- Git
-
VSCode (Recommended)
- Note: We highly recommend using VSCode for your IDE because of the extension integration.
- MySQL
The configuration steps for VSCode and Git are the same as the Frontend Windows Installation Guide.
- Install MySQL and choose the larger installation (mysql-installer-community).
- Note: You DO NOT HAVE TO MAKE AN ORACLE ACCOUNT. Just click
No thanks, just start my download
2. Select the "Full" option.
3. If needed, opt to install C++.
4. All of these packages should appear in the installation window if you configured the installer correctly.
5. After clicking next for configuring the MySQL server, PLEASE REMEMBER TO SAVE YOUR ROOT PASSWORD WHEN INPUTTING IT. IT'S STUPID HARD TO CHANGE IT.
6. Create a new user with the Add user
button. WRITE DOWN THE USERNAME AND PASSWORD
7. Continue clicking next until you reach Finish. No setup is needed for MySQL Router
or Samples and Examples
. You should see this when you're complete.
The project installation steps are the same as the Frontend Windows Installation Guide.
- In the project window, create a new file and call it
.env
2. Using the .env-template
file, copy and paste its contents into the .env file
3. Enter in your user credentials (not root) created during the MySQL Configuration section.
- Note: the user credentials are unique for everyone because this is a local instance. Copying the user credentials of the screenshot will not work.
4. If correctly done, running the project will result in a message of "MySQL Server successfully starting".
NOTE: You must be in the Backend project directory to install the dependencies. The project dependency installation steps are the same as the Frontend Windows Installation Guide.
- In VSCode's integrated terminal, run
npm run api
to start the API server. - By default, the API server will run on port 3000. The URL to test the API server is
http://localhost:3000/
. - When testing backend endpoints, use programs like Postman (requires account creation), RapidAPI, or Hoppscotch to test the endpoints.
- When inputting data into the body of the request, make sure to use the
raw
option and selectJSON
from the dropdown menu.