j3k2 / pern-starter

Starter kit for PERN (Postgres, Express, React, and Node) stack apps with full-stack JWT-based user authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PERN Starter

Starter kit for PERN (Postgres, Express, React, and Node) stack apps with full-stack JWT-based user authentication

  • Uses knex for dynamic SQL query building, database migrations and seeding
  • Uses jsonwebtoken for user authentication and bcrypt for password encryption

Set up

  • Start a new project without the repository's commit history: git clone --depth=1 https://github.com/j3k2/pern-starter.git <your-project-name>.
  • Create .env file in the root directory with DATABASE_URL (connection string for your Postgres database) and JWT_SECRET (secret to be used for JWT signature).
  • Run the initial database migration with knex migrate:latest.

About

Starter kit for PERN (Postgres, Express, React, and Node) stack apps with full-stack JWT-based user authentication


Languages

Language:JavaScript 85.3%Language:HTML 10.8%Language:CSS 3.9%