Run npm run install
to install necessary package
Create/update the .env file at the root level with the following key/values, update as needed:
PIZZA_PLACE_API_URL=http://localhost:4040
MONGODB=mongodb://localhost/pizza
[^---This MONGODB value above should be changed to be your own mongodb cluster connection string! See the curriculum for more on that!---^]
OPEN_WEATHER_MAP_API_KEY=
You must start both the SPA and Server using the npm run serve
and npm run app:watch
commands in separate terminals.
In the terminal use npm run
serve
: Start the frontend SPA with hot reload
app:watch
: Start the backend API with hot reload
parcel-build
: Package SPA for production deployment