Maven is a Java software development build tool that must be installed. Instructions are here
-
Navigate inside the
smook
directory -
To build and run the backend locally, navigate to the
smook
folder and runmvn spring-boot:run
, then navigate tolocalhost:8080
to test api calls. Note: on a first run, domvn clean install
to ensure the dependencies are installed correctly. -
To run the frontend, navigate to the
frontend/smook_app
folder and runnpm run dev
to run a live server in development mode. All of your local changes will be automatically updated/reflected in the live server. -
To deploy to the backend, navigate to the
smook
folder and runmvn clean package
, then navigate tosrc\main\appengine
and rungcloud app deploy
while logged in (currently only linked to Connor's Google account, login withgcloud auth login
)