moj124 / codenames--backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DB Setup

Copy .env.example to .env and set DATABASE_URL and PORT to your liking.

Example for a local database: DATABASE_URL=postgres://neill@localhost/pastebin

You will need to create your own databases for this project - one locally and one on Heroku.

running on heroku

When the project is deployed to heroku, the command in your Procfile file will be run.

Database Schema:

Screenshot 2022-04-05 at 22 10 01

Environments

Installation

Mac/Linux

Brew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Docker:

Please check the docker version matches the requirements.

brew cask install docker
docker --version

Windows

Docker:

Download via  [www.docker.com/get-started](https://www.docker.com/get-started).

Make:

```
choco install make
```

Node:

Download via  [nodejs.org/en/download/](https://nodejs.org/en/download/prebuilt-installer).

Requirements

Run

make dev

Initial Setup

make install
make build

Git Workflow

About


Languages

Language:TypeScript 93.7%Language:Makefile 6.1%Language:Procfile 0.1%