Skip to content

Siipe/zip-challenge-monorepo

Repository files navigation

Summary

This project is a simple zipcode search API through GraphQL using Node.js, Typescript and React.js under monorepo architecture, with zippopotam.us free API.

Requirements

  • Operating system: Linux based/MacOS/WSL2 on Windows
  • npm 8
  • Node.js 16
  • Docker
  • Docker Compose

Environment Setup

# Clone the project using HTTPS
git clone https://github.com/Siipe/zip-challenge-monorepo.git

Installation

# Prepare database container
docker-compose -f "docker-compose.yml" up -d --build

# Install dependencies
npm install

Running

# Start & Watch for API changes (Port 5000)
npm run api

# OPTIONAL: you only need to run this command if you modify GraphQL queries, mutations or schema
npm run gen

# Start frontend (web) React (Port 3000)
npm run web

Tests

# e2e tests for the GraphQL API
npm run test:api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published