Giter Site home page Giter Site logo

cleissonbarbosa / api-rest-typescript Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 3.41 MB

Rest API with NodeJS + Typescript + Prisma + OpenAi integration

Home Page: https://api-rest-node-tys2.onrender.com

TypeScript 100.00%
api crud nodejs rest typscript clean-code chatgpt openai prisma

api-rest-typescript's Introduction

๐Ÿ›ฃ๏ธ API Rest with Typescript (example)

GitHub repo size GitHub language count GitHub forks Bitbucket open issues Bitbucket open pull requests

๐ŸŒ View Demo

logo

This is an example project, it can be used as a boilerplate to create a rest api with best practices and some ready-made features such as: WebToken Authentication (JWT), OpenAi API Integration, Redis cache, Admin CRUD with AdminJS etc.

๐Ÿš€ Tweaks and improvements

The project is still under development and the next updates will focus on the following tasks:

  • Improvement OpenAi integration
  • Run project with docker
  • Error middleware
  • JWT token auth
  • DDD
  • Tests

๐Ÿ’ป Prerequisites

Before you begin, make sure you've met the following requirements:

  • You have installed the latest version of <Typescript / NodeJS 18 / Docker>.

๐Ÿ’พ installation

To install follow these steps:

Install dependencies with yarn or npm:

yarn

or:

npm i

โ˜• using

run the following command:

yarn docker:run && yarn dev

or:

npm run docker:run && npm run dev

this will upload a container in docker with postgresql, redis, zookeeper and kafka

๐Ÿ“ซ Contributing to the project

To contribute to the project, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to original branch: git push origin <project_name> / <location>
  5. Create the pull request.

Alternatively, see the GitHub documentation on how to create a pull request.

๐Ÿค Sponsors

Thanks to the following people who contributed to this project:

Foto do Cleisson Barbosa no GitHub
Cleisson Barbosa

๐Ÿ“ License

This project is under license. See the LICENSE file for more details.

โฌ† back to the top

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.