Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

davemeehan/SWAPI-Temporal

Repository files navigation

SWAPI Workflow Generator

This project is a workflow generator for fetching and filtering data from the Star Wars API (SWAPI). It is built using Typescript, Next.js, Nx, and Temporal.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

  • Node.js and npm: Download and install from Node.js official website.
  • Nx CLI: Install it globally using npm: npm install -g nx.
  • Temporal: Follow the instructions on the Temporal official website to install Temporal.
  • An IDE like Visual Studio Code.

Installing

A step by step series of examples that tell you how to get a development environment running:

  1. Clone the repository: git clone https://github.com/davemeehan/SWAPI-Temporal.
  2. Navigate into the cloned repository: cd SWAPI-Temporal.
  3. Install the dependencies: npm install.

Running the Application

To run all services, use:

make # linux
make -j all # osx

To start the Temporal dev server, run the following command:

npx nx temporal:server

To start the worker, use:

npx nx temporal:worker

To open the Temporal UI, use:

npx nx temporal:ui

To start the Next.js app, use:

npx nx serve swapi-next

To start EnvyJs, use:

npx nx envy

Open your browser and navigate to http://localhost:4200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published