Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name Enricher API

A Go-based REST API that enriches personal data by automatically determining age, gender, and nationality based on a person's name.

Features

Getting Started

Prerequisites

  • Go 1.18+
  • PostgreSQL database

Installation

  1. Clone the repository

  2. Create a .env file with database configuration like .env.example:

```env
 DATABASE_DSN=postgres://postgres:pass@localhost:5432/postgres?sslmode=disable PORT=8080
  1. Run the application:
go run cmd/main.go
  1. Access Swagger documentation: http://localhost:8080/swagger/index.html

Database Schema

The application uses three tables:

  • persons: Stores personal information
  • genders: Reference table for gender types
  • nationalities: Reference table for nationality codes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages