Skip to content

A robust and secure RESTful API with Fastify, the high-performance web framework for Node.js providing solution for maneging habits using TypeScript, Prisma, PostgreSQL and Zod. An eficient and solid foundation for the backend.

Notifications You must be signed in to change notification settings

diegojfcampos/api_habit_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api RESTful Habit Helper

The Habit Helper API is a powerful Node.js-based solution designed to assist users in managing their habits effectively. This API provides comprehensive functionality for tracking, monitoring, and analyzing habits, offering a robust set of endpoints to create, update, and retrieve habit-related data. Built with performance and scalability in mind, the Habit Helper API ensures fast and reliable access to habit data, empowering users to make informed decisions and achieve their goals. It serves as a reliable backend.


Diego-Python Diego-HTML Diego-HTML Diego-CSS Diego-CSS

DataBase

  • PostgreSQL(Neon Serverless),

Technologies

  • NodeJS
  • Typescript
  • Fastify
  • Prisma ORM

CyberSecurity

  • DotEnv
  • JWT
  • BCrypt
  • Fastify Data Validation Schemas
  • Zod Data Validation

Dependencies

npm install
 "dependencies": {
    "@fastify/cors": "^8.2.1",
    "@fastify/env": "^4.2.0",
    "@fastify/jwt": "^6.7.1",
    "@fastify/swagger": "^8.3.1",
    "@fastify/swagger-ui": "^1.8.0",
    "@prisma/client": "^4.15.0",
    "dayjs": "^1.11.7",
    "fastify": "^4.15.0",    
    "zod": "^3.21.4"
  },
  "devDependencies": {    
    "@types/events": "^3.0.0",
    "@types/node": "^18.16.16",
    "typescript": "^5.0.4",
    "prisma": "^4.15.0",
    "tsx": "^3.12.6"
  },

Testing

  • Postman

Documentation

Documentation

Run Locally

Clone the project

  git clone https://github.com/diegojfcampos/api_habit_helper.git

Go to the project directory

  cd api_habit_helper

Install dependencies

  npm install

Start the server

  npm run start

Authors

About

A robust and secure RESTful API with Fastify, the high-performance web framework for Node.js providing solution for maneging habits using TypeScript, Prisma, PostgreSQL and Zod. An eficient and solid foundation for the backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published