shintech-utils
v0.1.2
Published
utilities
Readme
shintech-development/seed
Table of Contents
- Synopsis
- Installation/Configuration a. .env b. Development c. Production c. git hooks
- API a. /api/home b. /api/page c. /api/posts d. /api/posts/:id
Synopsis
Next.JS + Express.JS
Installation
./install.shInstallation/Configuration
Copy the config for the environment from config/env/[environment].env and edit as necessary.
PORT=8000
NODE_ENV=development
BASE_URL=https://domain
[email protected]
POSTGRES_URI=postgresURI
JWT_SECRET=secret
HOST=localhost
DOMAIN=domainDevelopment
npm run dev
# or
yarn devProduction
docker-compose build && docker-compose up -dgit hooks
ln -s /path/to/repo/config/hooks/hook /path/to/repo/.git/hooks/