evzpav / task-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TASK API

It is a Node CRUD boilerplate using Postgres with frontend in React.

Requirements

Node v20.16.0 
Docker
Make

Install dependencies

    make install

Run Postgres DB

   make run-postgres

Running

Local development

Run front (dev server)

    make run-front

    #Frontend will be running on localhost:3000

Run backend locally on port 7777

    make run

    #Backend endpoints will be running on localhost:7777/v1

Pre production

Run backend on docker - backend serves frontend build folder

    make run-docker

    #Frontend will be running on localhost:8888
    #Backend endpoints will be running on localhost:8888/v1

About


Languages

Language:JavaScript 92.5%Language:HTML 2.7%Language:Makefile 2.4%Language:CSS 1.5%Language:Dockerfile 1.0%