Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 1.17 KB

README.md

File metadata and controls

73 lines (45 loc) · 1.17 KB

Hack The Tunnels - Starter

Hack The Tunnels

This is the project template for Hack The Tunnels.

The project template utilizes React, TypeScript, Express, and Prisma.

Project Setup

Before you can set up the project, you will need to install Node.js.

To get the project working, you will need to have both the client and server running.

Client Setup

  1. Move into the client directory
cd client
  1. Install client dependencies
npm install
  1. Copy .env.sample

Create a copy of the .env.sample file and rename the file's name to .env.

  1. Run the client
npm run dev

Service Setup

  1. Move into the service directory
cd service
  1. Install service dependencies
npm install
  1. Copy .env.sample

Create a copy of the .env.sample file and rename the file's name to .env.

  1. Run Migrations
npx prisma migrate dev
  1. Add the Seed Data
npx prisma db seed
  1. Run the service
npm run dev