Skip to content

Express & Vue App that displays information from a Notion database for our weekly movie nights.

License

Notifications You must be signed in to change notification settings

JHWelch/movies.wowellworld.com

Repository files navigation

movies.wowellworld.com

App Engine Build Quality Checks

An integration with Notion to display weekly movie nights using a Notion database as the source of truth.

Development

.env

cd server
cp .env.example .env

Update .env to include secrets.

Build for Development

To build assets for development and serve on port PORT.

npm run dev

Testing

npm test

Linting & Fixing

npm run lint
npm run fix

Repository Structure

This application is split into two parts:

  • server - The Express server that serves the application and handles API requests.
  • client - The Vue application served by the Express server that handles the UI.

Each part has its own package.json and node_modules directory, however both can be installed with a single npm install command.

You can find specific scripts for each part in their respective package.json files.

Deploy to App Engine

This app is deployed to Google App Engine. It will automatically deploy on all merges to main. This is the preferred method of deployment.

App engine will build the application with npm run build and serve the application with npm run start.

Manual deployments can be performed with the built in script.

You must first have a copy of .env.production in the root directory. Then run:

sh scripts/deploy.sh

Technologies