GithubHelp home page GithubHelp logo

munavvarsinan / nodejs-prisma-docker-postgres-starter Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 125 KB

npx nodejs-docker-starter my-app

License: GNU General Public License v3.0

Dockerfile 16.78% TypeScript 83.22%

nodejs-prisma-docker-postgres-starter's Introduction

npx nodejs-docker-starter my-app

Nodejs-Docker-Postgres-starter

A starter project for building Rest APIs with Node.js, Typescript, Postgres, and Prisma. It provides a basic folder structure and starter files to help you get started with your own Rest API quickly and easily.

Features

  • Typescript for type safety
  • PostgresQL for data storage
  • Prisma for ORM

Getting Started

Prerequisites

  • Node.js (v14 or later)
  • Postgres
  • Docker

Installation

  1. Installation command : npx nodejs-docker-starter my-app
  2. Install necessary dependencies : cd my-app && pnpm install `

Running the Application

  1. Start the server: docker compose up

Testing

  1. Run tests: npm test

Folder Structure

  • src folder contains the source code
    • modules folder contains database files
    • index.ts file contains the main application entry point
  • prisma folder contains prisma schema and migrations

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

nodejs-prisma-docker-postgres-starter's People

Contributors

munavvarsinan avatar stevenjburrows avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

stevenjburrows

nodejs-prisma-docker-postgres-starter's Issues

add tests

Add test to the api end points and all the connections

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.