/jwt-typeorm-postgres-template

JWT TypeORM Postgres Template

Primary LanguageTypeScriptMIT LicenseMIT

JWT TypeORM Postgres Template

Steps to run this project for development:

# Clone the repository
git clone git@github.com:Acquati/jwt-typeorm-postgres-template.git

# Open directory
cd jwt-typeorm-postgres-template

# Up Postgres Docker container
docker-compose up

# Copy config file example
cp ./src/config/config.example.ts ./src/config/config.ts

# Install modules
yarn install

# Run this migration in the first time setup
## Create users table
yarn migration:run
## Create Admin user
yarn seed:run

# Start the server for development
yarn dev

# Run tests
yarn test