Skip to content

This project is a platform that facilitates the formation and management of work teams in collaborative environments.

Notifications You must be signed in to change notification settings

Punto-Coma/team-craft

Repository files navigation

Team Craft API

This project is a platform that facilitates the formation and management of work teams in collaborative environments.

Run Locally

Clone the project

  git clone <project url>

Install dependencies

  npm install

Create .env file

  PORT=3005

  #prisma
  DATABASE_URL=postgresql:https://<user>:<password>@localhost:5432/<db>?schema=public

  # db dev locally
  POSTGRES_USER=      # Same as prisma user: <user>
  POSTGRES_DB=        # Same as prisma db: <db>
  POSTGRES_PASSWORD=  # Same as prisma password: <password>
  POSTGRES_PORT=5432

  # jwt
  APP_SECRET=
  EXPIRES=30d

Run docker compose

  npm run docker:dev

Run prisma

  npx prisma generate

Start the server

  npm run start:dev

Optional: execute seeder

  GET {{baseUrl}}/seeds/create-all 

Tech Stack

Server: Typescript, Node.js, Express framework, PostgreSQL, Prisma ORM, Docker ( run locally DB ), Joi, JWT, Jest

About

This project is a platform that facilitates the formation and management of work teams in collaborative environments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published