Skip to content

igorpardinho/codeleap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeLeap Challenge - Backend

API developed as a backend challenge for a job application.

Stack

  • Backend: Fastify.js, Node.js, TypeScript, TypeBox
  • ORM: DrizzleORM
  • Database: PostgreSQL
  • Validation: TypeBox schemas
  • Containerization: Docker & Docker Compose

Features

  • Full CRUD for posts (/api/posts)
  • Pagination, sorting, and filtering by username
  • Data validation using TypeBox
  • Centralized error handling
  • Configurable via environment variables
  • Dockerized for consistent development environment

Getting Started

  1. Clone the repository:
git clone https://github.com/igorpardinho/codeleap.git
cd codeleap
  1. Start Docker containers:
docker-compose up -d
  1. Install dependencies (if running outside Docker)
npm install
  1. Generate the database schema
npm run db:generate
  1. Start the server
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published